#kirito - subscription decline card
1 messages · Page 1 of 1 (latest)
Hi 👋
Can you share the Subscription ID so I can check?
sub_1Mj13eFeR0PUZyO7Oagu3Tsz
Looking
I'm seeing a card that was attached to a customer today. Do you have the request that failed?
req_ftlOQE66oeZYpc
This test card will always be declined when attempting to attach to a Customer
If you want to test a declined payment you will need to directly update the Customer object using one of our Test PaymentMethod tokens: https://stripe.com/docs/testing?testing-method=payment-methods#declined-payments
I get this error : req_at7MkDgvtLXBrB
You need to set this on the Customer
still got the same error : req_YXfeOF0icZmCs9
kirito - subscription decline card
Looking in to how to set this properly and will get back to you. Thanks for the info
ok thanks
Have you tried using our "decline after attaching" test card? It will allow you to attach the PM to a customer but will decline any recurring payments charged to it after. I think the always decline card is not attachable
The Decline after attaching card'd number is 4000000000000341 though you can also use pm_card_chargeCustomerFail or tok_chargeCustomerFail depending on what you are doing
Oh yes it work thank you
Could I apply test clock to an existing subscription/ customer ?
Not to an existing one unfortunately. You will need to create a new test clock and then a new customer and subscription on that