#Akshay Nanda
1 messages · Page 1 of 1 (latest)
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
Have you tried attaching the PM to your customer by making a separate API call to attach it? https://stripe.com/docs/api/payment_methods/attach
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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.
Do you have an ID of a payment method like this?
I don't understand do you mean the id which starts next? 'pm_ something'
Catching up since my colleague needs to step away. Yes, that's the format of the ID we're looking for
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.
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.
Sorry for the delay! I think the AliPay issues with recurring payments will be better addressed by our support team
I recommend logging into the Stripe account you're using for AliPay recurring payments and navigating to this page to reach them: https://support.stripe.com/?contact=true
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