How do I test a card that succeeds in create_card but fails to pay?

How do I test a card that succeeds in create_card but fails to pay?
Is there a card number for testing that has those characteristics?

There isn’t a card number for this test case however the test value ccof:customer-card-id-declined is what you’ll use to pass to the payment request that will simulate a card on file decline. :slightly_smiling_face:

Is there a value what the subscription can be created, but the initial payment fails and the invoice is unpaid?
Such cases seem to be occurring.

Unfortunately, there isn’t a test value for that. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

1 Like