@Stripe should it be possible to create a subscription using a payment method ID returned from createPaymentMethod as opposed to createToken? Docs say to use createToken but I'd like an approach I can use for both one off + subscription transaction
-
Show this thread
-
Replying to @mattbrailsford
You could attach the PaymentMethod to the Customer https://stripe.com/docs/payments/payment-methods/saving#attach-method … and when creating the subscription make sure to pass its ID as `default_payment_method` https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method …
1 reply 0 retweets 1 like -
Replying to @mattbrailsford
Of course! Feel free to ping us if anything comes up.
2:38 AM - 30 May 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
