#Nepotist
1 messages ยท Page 1 of 1 (latest)
Hey again
๐
Looking
I tried a few different things on the Payment Intent.
Ah I think you may need to actually pass the mandate itself: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate
It won't just grab the mandate, since it is always possible for a PaymentMethod to have multiple mandates
I tried that here: req_ZhswXhbHmGyXBO
Ah indeed.
The setup_future_usage is already set to "off_session" on the Payment Intent before I can confirm it. ๐
Yeah... that is due to the Subscription behavior
I'm going to need to file some feedback to get this flow smoothed out
That said
Let's try something different.
When you create the Subscription try setting the Paypal PM as the default_payment_method for the Sub and use payment_behavior: allow_incomplete
This will attempt payment immediately upon creating the Sub and use the Paypal PM
okay, give me a moment
I tried that a few different ways and either had an error or had to redirect again to get it to work.
Something interesting for you: pi_3NEC76Geos9eOLE81Uk8vZ8h
If you create a subscription as you suggested, the return_url on the Payment Intent created by the subscription is null
Okay I'm going to need to spin up a repro on my end here to figure this out. I haven't played with Paypal that much yet myself as it is relatively new to GA.
Give me a few mins
No problem, thanks for taking a deeper look ๐
Okay.
@eager elm try setting off_session: true when you create your Subscription
That should negate setup_future_usage on the PaymentIntent
And should fix the issues here I believe
Cool, trying it ๐
All right! That worked in Postman. I will give it a shot with my devs in the local environment and see how it goes. Thank you so much!
๐