#chern

1 messages ยท Page 1 of 1 (latest)

zenith spearBOT
cerulean thunder
#

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?

terse basin
#

Let me describe the scenario.

  1. The user subscribed using a credit card, this credit card is now set as the default payment mean.
  2. 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).
cerulean thunder
#

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?

Allow customers to securely make payments using Apple Pay on their iPhone, iPad, and Apple Watch.

terse basin
#

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.

cerulean thunder
#

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.

cerulean thunder
terse basin
#

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?

cerulean thunder
#

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.

terse basin
#

Ok, thanks! Let us reflect on it ๐Ÿ™‚