#evan-subscription-paypal
1 messages · Page 1 of 1 (latest)
Hello evan_09475, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• evan_09475, 1 day ago, 34 messages
• evan_09475, 2 days ago, 8 messages
It is not related to the prevous questions
Ideally we'd return a better error here - the real issue here is that the mandate associated with the paypal payment method is inactive
I am using the payment element to load different payment methods, Do you mean this case would not possible for paypal?
What do you mean by that?
evan-subscription-paypal
@lean scarab I think you have to pass off_session: true
@meager vault it's the thing we all discussed on Monday night :p
I am not able to end the trial for the above subscription
Apparently our Paypal integration requires a return_url for confirmation and ends up in a weird state if you don't do off_session: true
so try with off_session: true first
You mean in the update right ?
subscription = await this.stripeGateway.subscriptions.update(id, {
trial_end: 'now' ,
off_session: true
})
yes try that
I am trying that now.
Yes that worked
One question
If am using the same endpoint to end trial for different types of PMs like cards, google pay, etc.
Would the off_session: true make any big deal ?
I mean would it behave diffrently for other PMs ?
yeah it's a bit annoying but that'd skip 3DS requirements for card for example so you really want this only for Paypal
it's a bug really on our end, my team discovered this on Monday and we're working with the product team to fix it. I'd recommend you write in to report the bug: https://support.stripe.com/contact
But it'll take a while to fix so for now I gave you the hack