#vipul

1 messages ยท Page 1 of 1 (latest)

hasty quarryBOT
cosmic arch
#

Hi @lapis garden

lapis garden
#

Hi! Let me help you with this.

#

Could you please share the PaymentIntent ID pi_xxx?

cosmic arch
#

Yes

#

pi_3NqYwyDPlQZ3kwnA1Pm8OBll

#

This is payment id

lapis garden
#

This is a successful PaymentIntent. What's exactly the problem with it?

hasty quarryBOT
cosmic arch
#

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?

silk thistle
#

Hey! Taking over for my colleague. Let me catch up.

cosmic arch
#

Hi @silk thistle

#

Yeah Let me know if you need further details

silk thistle
#

The issue here, is that the customer didn't completed the 3DS

cosmic arch
#

I am using test card. Clicking on Authorize on popup for 3d Secure

#

What else needs to be done?

silk thistle
#

No the action didn't went through, try do the test again

cosmic arch
#

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

silk thistle
#

Ok, you are working from India

#

using an indian card

cosmic arch
#

4000003560000008

#

This test card I am using

#

Is it for india?

silk thistle
cosmic arch
#

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?

silk thistle
#

If you are making your testss from an Indian IP, you need to set RBI.

cosmic arch
#

Oh ok, Test card by default considers it?

#

So I need to set mandate_options paramtere?

silk thistle
cosmic arch
#

What will be the avlue of it? I belive I had tried it before

#

I still got same issue

silk thistle
#

What issue you are getting exactly ?

cosmic arch
#

Can you clarify what steps exactly are needed to integrate the link you provided?

cosmic arch
silk thistle
#

But in that Subscription you are not using RBI.

cosmic arch
#

I am sending screenshot of my integration and providing new subscription id with that field included. Wait few mins

silk thistle
#

Please share all the related Stripe Ids too (SubscriptionId)

cosmic arch
#

yes

#

sub_1Nqa6zDPlQZ3kwnAZikjcywA

#

Please find this subscription id with mandate

#

@silk thistle

silk thistle
#

PLease don't use mentions, we are monitoring all threads.

cosmic arch
#

No problem

#

Won't do

silk thistle
#

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 ?

cosmic arch
#

Ok doing

silk thistle
#

You are creating a PaymentIntent here.

cosmic arch
#

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?

hasty quarryBOT
silk thistle
#

Yes, but the issue here is that there is an issue when completing the 3ds.

#

Check if you are seeing any JS errors

cosmic arch
#

sub_1NqaQTDPlQZ3kwnAK7WO9Kd8

#

This is the latest id with mandate

#

I am checking any JS errors

#

Please check if its correct

silk thistle
#

Ok same issue, 3DS isn't completed.

#

Can you open the devtool, and record/inspect if any particular error ?

cosmic arch
#

Looking at it now

#

No errors in console

#

Sharing video

#

CORS error only

#

See video

#

Let me know

#

Are you there?

uneven minnow
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

cosmic arch
#

ok

#

This BE code snippet

#

See if there is anything missing

uneven minnow
#

It's not a problem in the backend IMO

#

it's the fact that 3DS is not being processed correctly in the frontend

cosmic arch
#

This is forntend Angular snippet

uneven minnow
#

that's not how we recommend doing this! I think this is why it's failing

#

you shouldn't be using createSource/createToken anymore

cosmic arch
#

Whats the correct way?

uneven minnow
cosmic arch
#

There is any link to migrate which has all steps?

uneven minnow
#

but I think a rewrite is a better approach here

cosmic arch
#

Ok, Are you sure old methods used is the only problem?

#

Nothing else?

uneven minnow
#

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

cosmic arch
#

Ok let me re-write first then

#

I handled RBI mandate option

uneven minnow
#

ok perfect then, this should be also ported to the new integration as well

cosmic arch
#

Ok Thanks

uneven minnow
#

let me know if you need any more help

cosmic arch
#

No Thanks, I will integrate this

uneven minnow
#

you wouldn't mind me closing this thread now then?