#iabdulrehman-GooglePay
1 messages · Page 1 of 1 (latest)
Use this part https://stripe.com/docs/google-pay?platform=android#creating-a-paymentmethod to collect only PaymentMethod, then use it to create a Subscription on your backend
creating Subscription isn't related to GooglePay since it's purely backend
@muted tide thank you for your time. One more thing we also have our iOS app and there we have implemented ApplePay with the help of Stripe documentation I'm assuming that it is also purely backend and we have to use the same Payment Method that you mentioned right?
If you mean is it the same for GooglePay/ApplePay to separated from Subscription which is purely backend, yes
Is there any Stripe API available that creates subscription only so that we could hit that API whenever we deduct payment from GooglePay/ApplePay !! Or we have the only option of Payment Intent Method.
It's the Subscription Creation API indeed. You pass in a Payment Method Id and Stripe will automatically use it for any future payment collection for that Subscription. You specify it here https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.