#tymm
1 messages · Page 1 of 1 (latest)
that's normal since the type of action is use_stripe_sdk , it's not redirect_to_url
AFAIK you can't use redirect_to_url for Subscriptions, you should use our official guides and confirm on the frontend with stripe.js
actually i can when im creating the subscription. this is a subscription update thats giving problem
yeah but I think you can't change the action type
give me a while to catch up since it's incrediby busy in Discord at the moment and I'll get back to you.
ok, you can do like this :
paymentIntent = await stripe.paymentIntents.confirm(subscription.latest_invoice.payment_intent.id, {return_url:"http://mysite.com/payment-done"})
to force the PaymentIntent to change the redirect_to_url action type
hope that makes sense and you know what I mean, I don't have a Java project open right now but that's the API call involved
aight thanks
no worries