-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Naming question #4
Comments
Hello @diimpp ! About your error, I think you forgot to use the new js method to create a token front side It replaces old one About the different factories, I would need to deep further as I only really used myself the JS one, but it looks like a good idea. Once we got a better idea of the difference then we can definitively support both flows in the fork. :) |
I've pushed my work so far on P.S. I've gained some insights since my last message, I will write tomorrow. |
By the way, apparently 6.9 and 7.0 have bigger differences, than I've expected. For examle
|
Thanks for your pr, i'm looking at it 👍 I also checked differences between Stripe 6.9 and 7, reading their migration guide, there are two main issues regarding our usage:
I open a new issue regarding this since the fork will be unusable for anyone using stripe v7 |
Hi, just wanted to clarify few things.
Original Payum Stripe Checkout now offered by Stripe as
Legacy Checkout
(Charge API), newStripe Checkout
is a hosted solution (Session API), but at the same time they now offer PaymentIntent API with manual web flow, which is very similar to previous charge api in terms of user experience (Self hosted payment page).What
StripeDirectGatewayFactory
andStripeJsGatewayFactory
do -- I have no idea.So what I think is
StripeCheckoutGatewayFactory
should becomeStripeLegacyCheckoutGatewayFactory
with previous Charge API and stripe/stripe-php lock as in original.New
StripeCheckoutGatewayFactory
should consist of Session API which will redirect to Stripe hosted page and your work should go intoStripePaymentIntentGatewayFactory
with sca and without.I'm not sure about web (self hosted), android/ios differences, should they be in same GatewayFactory or not. Maybe that's what Direct and JS gateways are about.
What do you think?
By the way, I've tried out new implementation (Inside Sylius) and I'm having this issue.
A Card token may not be passed in as a PaymentMethod. Instead, use payment_method_data with type=card
My
model
is not constructed right, but I'm sure problem is either with my html template or related to Sylius.Anyway, my company decided to go with Session API and hosted checkout page, therefore I'll be developing it now. I've saw https://github.com/Combodo/CombodoPayumStripe using Session API, but their code is not idiomatic to Payum and it doesn't look like they plan to return changes to Payum. So maybe we will be able to support both flows inside your fork and eventually PR in master.
The text was updated successfully, but these errors were encountered: