#Akshay Nanda

1 messages · Page 1 of 1 (latest)

warped atlasBOT
viscid rune
#

Interesting, I did not realize some payment methods work like that. I will check in to whether Checkout has a setting to control this though I don't think it does off the top of my head

lavish creek
#

Hey, Thanks! for your reply.
I have already tested applying a default payment source using 'pm_id' that comes in a webhook. it does not change anything for the customer as the default payment source is already attached to the subscription. And although it's attached, the stripe UI does not show it be attached.

viscid rune
#

Do you have an ID of a payment method like this?

lavish creek
#

I don't understand do you mean the id which starts next? 'pm_ something'

turbid timber
#

Catching up since my colleague needs to step away. Yes, that's the format of the ID we're looking for

lavish creek
#

So do you need a customer in live mode?

#

with this pm id

#

@turbid timber there you go pm_1LhVW9KWfSycpO9EMP4w2Kj1 this is one of the,

#

Let me know if you need a latest one.

lavish creek
#

I just tried to buy a product using stripe checkout in Subscription Mode, using Alipay. It did not get attached to the customer. Then used your PaymentMethod Api to attach it and it still did not update the customer.

turbid timber
#

Sorry for the delay! I think the AliPay issues with recurring payments will be better addressed by our support team

lavish creek
#

okay, thanks!
Correct me if I am wrong here. @turbid timber @viscid rune

This is the reply i got from them. (To use Alipay for recurring payments (and save the payment method) with Stripe Checkout, please use mode: 'setup' when you create the Checkout session. Below is a good doc for the example code -- https://stripe.com/docs/payments/save-and-reuse?platform=checkout#create-checkout-session)

But When we use Sessions Create in Setup mode, we have to create another session and ask the user to save their card or Alipay using that. It does not allow line items as well. It does not charge the customer or tell us what product they are trying to buy. Am I reading this doc incorrectly?
@warped atlas

Learn how to save card details and charge your customers later.