#vipul
1 messages ยท Page 1 of 1 (latest)
Hi @lapis garden
This is a successful PaymentIntent. What's exactly the problem with it?
When I try to pay Payment shows in Related guest payments
And subscription stays incomplete
Invoice is in pending state
This is subscription_id
sub_1NqXdlDPlQZ3kwnAMGpijws7
invoice id
in_1NqXdlDPlQZ3kwnALQvSJxMy
@lapis garden
Are you there?
Hey! Taking over for my colleague. Let me catch up.
The issue here, is that the customer didn't completed the 3DS
You can double check this in the invoice's payment in your dashboard
https://dashboard.stripe.com/payments/pi_3NqXdlDPlQZ3kwnA0IwtLguN
I am using test card. Clicking on Authorize on popup for 3d Secure
What else needs to be done?
No the action didn't went through, try do the test again
I have tried many times
See below recording, Let me know when you seen it
Please copy url somewhere
So I can delete
Look at the video and let me know if I did anything wrong
Ok, you are working from India
using an indian card
You need to set RBI:
https://stripe.com/docs/india-recurring-payments
yes and you are making requests from an Indian IP:
https://stripe.com/docs/testing#asia-pacific
Yes, I am doing request from Indian IP
What other card can I use which is non-indian which I can use and confirm that its indian card specific issue?
If you are making your testss from an Indian IP, you need to set RBI.
Please follow the link above:
https://stripe.com/docs/india-recurring-payments
Oh ok, Test card by default considers it?
So I need to set mandate_options paramtere?
Yes.
What issue you are getting exactly ?
Can you clarify what steps exactly are needed to integrate the link you provided?
Same issue I got is that subscription Incomplete
But in that Subscription you are not using RBI.
Try doing another test from scratch by following this guide, step-by-step:
https://stripe.com/docs/india-recurring-payments
I am sending screenshot of my integration and providing new subscription id with that field included. Wait few mins
Please share all the related Stripe Ids too (SubscriptionId)
yes
sub_1Nqa6zDPlQZ3kwnAZikjcywA
Please find this subscription id with mandate
@silk thistle
PLease don't use mentions, we are monitoring all threads.
Ok the issue is that the 3DS isn't completed.
Can you open the browser devtool and check if youa re seeing any JS error after confirming the 3ds popup ?
Ok doing
But wait, this is not a Subscription creation.
You are creating a PaymentIntent here.
Ok need to apply at create subscription API?
payment_settings.payment_method_options.card.mandate_options.amount =19
payment_settings.payment_method_options.card.mandate_options.amount_type = fixed
If charge is 19$ then this would be added at create subscription api payload, yeah?
Yes, but the issue here is that there is an issue when completing the 3ds.
Check if you are seeing any JS errors
sub_1NqaQTDPlQZ3kwnAK7WO9Kd8
This is the latest id with mandate
I am checking any JS errors
Please check if its correct
Ok same issue, 3DS isn't completed.
Can you open the devtool, and record/inspect if any particular error ?
Looking at it now
No errors in console
Sharing video
CORS error only
See video
Let me know
Are you there?
๐ taking over for my colleague. Let me catch up.
It's not a problem in the backend IMO
it's the fact that 3DS is not being processed correctly in the frontend
that's not how we recommend doing this! I think this is why it's failing
you shouldn't be using createSource/createToken anymore
Whats the correct way?
There is any link to migrate which has all steps?
but I think a rewrite is a better approach here
there's also RBI which can be problematic
since you're paying with an IP from India
but I guess that's a story to handle once you rewrite the integration
ok perfect then, this should be also ported to the new integration as well
Ok Thanks
let me know if you need any more help
No Thanks, I will integrate this
you wouldn't mind me closing this thread now then?