#surajpatidar

1 messages · Page 1 of 1 (latest)

echo pineBOT
last dawn
#

hi.

naive kayak
#

i have created subscription upgrade flow and it work fine when use US card but when i use indian card it not work

#

so what i will do for indian card

last dawn
#

any more details than just "it not work"?

#

what exact code did you use, what error did you get exactly, the request ID req_xxx from any errors, etc.

naive kayak
#

i have request id because it live and i have't stripe credentails

#

but i have flow if user click on new plan and if it price greater then then simpliy i have modify subscription and auto charge with last payment method

#
                stripe.Subscription.modify(
                    subscription.id,
                    cancel_at_period_end=False,
                    proration_behavior="none",
                    billing_cycle_anchor="now",
                    items=[
                        {
                            "id": subscription["items"]["data"][0].id,
                            "price": price_id,
                        }
                    ],
                )
                print("Price Greater then current price")
                messages.success(request, "Plan Upgrade SuccessFully.")```
last dawn
#

it's amost impossible for me to help unfortuantely without any level of technical detail such as code/example errors.

In general, Indian cards have extra requirements for charging such as e-mandates the customer needs to accept, as well as requirements for the name/address to be present on the Card object, and without those payments fail.
see https://stripe.com/docs/india-recurring-payments for some of the details.

naive kayak
#

it work fine for US card but when use Indian card subscription show pending status because payment not dedect from user

naive kayak
#

when i puchased subscription that time card work and redirect on confirm otp page so what i will do for indian card in subscription modify with auto deteaction

last dawn
naive kayak
#

if indian card send confim payment page link

last dawn
#

I don't know, I'm sorry.