#AntonKotov
1 messages ยท Page 1 of 1 (latest)
I think we have another test card for that, checking in to this and will get back
Looks like we do, we call it "Decline after attaching" on our test cards page https://stripe.com/docs/testing?testing-method=payment-methods
You can use 4000000000000341 in forms or pass in pm_card_chargeCustomerFail anywhere our API is expecting a payment method ID
Thank u ๐
sorry, but this card verifying on your side
๐
Are you attempting to use that card with a PaymentIntent here?
Do you have a request ID that you can share that corresponds with that error?
Response:
{
"charge": "ch_3N1AYPLwVbeKJN9e1vHnMxKu",
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"extra_fields": {
"recommended_payment_method": "debit_card"
},
"message": "Your card was declined.",
"payment_method": {
"id": "pm_1N1AYOLwVbeKJN9evOff9B0f",
"object": "payment_method",
"billing_details": {
"address": {
"city": null,
"country": "LV",
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": "admin",
"name": "123123",
"phone": null
},
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": null
},
"country": "US",
"exp_month": 12,
"exp_year": 2023,
"funding": "credit",
"generated_from": null,
"last4": "0341",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1682524008,
"customer": null,
"livemode": false,
"type": "card"
},
"request_log_url": "https://dashboard.stripe.com/test/logs/req_fZxw8kixwMpoxX?t=1682524009",
"type": "card_error"
}
Yeah this is a payment mode Checkout Session so you aren't just attaching the card to a Customer here
You would use setup mode to just collect the Card details but not charge
Otherwise that test card will be declined on charge
okey, than u ๐