#chern
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ can you expand on what you're referring to?
Are you referring to changing the order of payment methods that are shown when presenting the Mobile Payment Element to your customers?
Or are you referring to setting Payment Methods that were created by Google Pay or Apple Pay as the default payment method for a customer?
Let me describe the scenario.
- The user subscribed using a credit card, this credit card is now set as the default payment mean.
- After a while, the user wants to change the default payment mean and instead of the card added earlier, use Apple Pay (possibly with the original card, and possibly with a completely different one).
I don't think I would suggest that, with the reason being that re-using Apple Pay created payment methods has pretty limited support:
https://stripe.com/docs/apple-pay?platform=web#recurring-payments
That being said, Google and Apple Pay both create card payment methods, did you encounter an error when trying to set one of those as the default payment method for a Customer?
Did I understand correctly that you recommend using Apple Pay and Google Pay only to create subscriptions, after which the actual debiting of funds is carried out using the created card payment method?
We were successfully able to add the card payment method created by Apple Pay as the default payment mean.
Correct, I do not recommend making an Apple Pay (I don't think Google Pay is as restrictive) payment method the default payment method for a customer via invoice_settings.default_payment_method on the Customer object. I believe you technically can, but am not sure what will happen if you try to create a new Subscription that uses that.
Awesome! That was what you were looking to accomplish, right?
Not at all. Let me rephrase the question. In the case of subscriptions, is there any difference between using a regular card payment method and Apple/Google Pay, if Apple/Google Pay eventually creates a card payment method?
No, if you're collecting new payment method details when creating the Subscription, then they are the same. The only time I think they might behave differently, is if you try to create a new Subscription using an Apple Pay Payment Method that was created for a different Subscription.
Ok, thanks! Let us reflect on it ๐