#faz919-resuing-payment-method

1 messages · Page 1 of 1 (latest)

umbral root
#

Hi 👋 that depends on what actions you took leading up to that error. If you're trying to create a payment method that can be used multiple times, then you need to first attach it to a customer. If you detached a payment method from a customer then it is not possible to reuse it anymore.

grand galleon
#

Hey toby. I'm trying to test apple pay with a recurring subscription, and first I create a paymentintent, then confirm card payment, then on my subscription backend function i make a new customer, make a new product, and then make a new subscription with ad hoc pricing...What could be the issue here? Can multiple customers use the same payment method, even just for testing?

umbral root
#

No, payment methods cannot be shared by customers. You can create multiple payment methods with the same test card details though.

grand galleon
#

the problem is apple pay doesn't let you use test card details

#

so in terms of testing i'm just kind of screwed then, no? how am i supposed to know if the checkout and payment flow went through

umbral root
#

Are you working in test mode? If so then the card info is swapped out for a test card rather than processing against the real card numbers:
https://support.stripe.com/questions/testing-apple-pay-with-stripe