#tnnlvxn_44592
1 messages · Page 1 of 1 (latest)
Hey @pallid ridge let's talk here in this thread
Hey
So really this server is for helping developers with technical questions about our API. If you have the PaymentIntent ID in question then I can tell you about what needs to happen but your developer will likely need to help you out.
If you could guide me just a little bit even I can do it on my own
Like if you could guide me step by step of what to put where
I can't really do that. I can help explain what needs to happen, but I can't write your code for you.
Sure if you can do that for me I'd be grateful
Like where do I need to go and do what
Let me check
Where is it located since if I am not wrong each invoice has its own pi
Hi, stepping in as bismarck needs to delurk
Sure
That is correct, you can find that payment intent id from the invoice object. Alternatively, you can share the request id for when you created the invoice. Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Look support says that it is a payment intent problem
But can you check this out for me
{
"key": "pk_live_*********************************************************************************************PNHBUh",
"type": "card",
"billing_details": {
"address": {
"postal_code": "92841",
"country": "US"
},
"email": "playtechmarketingllc@gmail.com",
"name": "Muhammed H RIaz"
},
"payment_user_agent": "stripe.js/1f2a76b2e1; stripe-js-v3/1f2a76b2e1; payment-link; checkout",
"card": {
"number": "*********7674",
"exp_month": "06",
"cvc": "",
"exp_year": "28"
},
"muid": "b7cd9731-618b-4151-a84f-3cda3b3d10c7aafb5a",
"sid": "313fccc6-528d-44c5-af4c-0fa639f3e4f8a492ab",
"guid": "fbd25234-1912-4f34-8a6d-7627ad974fe07a7f5a"
}
Response body
{
"error": {
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"param": "",
"request_log_url": "https://dashboard.stripe.com/logs/req_BEG4Cp2NiFlhj2?t=1706733592",
"type": "card_error"
}
}
Request POST body
{
"key": "pk_live_*********************************************************************************************PNHBUh",
"type": "card",
"billing_details": {
"address": {
"postal_code": "92841",
"country": "US"
},
"email": "playtechmarketingllc@gmail.com",
"name": "Muhammed H RIaz"
},
"payment_user_agent": "stripe.js/1f2a76b2e1; stripe-js-v3/1f2a76b2e1; payment-link; checkout",
"card": {
"number": "*********7674",
"exp_month": "06",
"cvc": "",
"exp_year": "28"
},
"muid": "b7cd9731-618b-4151-a84f-3cda3b3d10c7aafb5a",
"sid": "313fccc6-528d-44c5-af4c-0fa639f3e4f8a492ab",
"guid": "fbd25234-1912-4f34-8a6d-7627ad974fe07a7f5a"
}
This is the response it shows in logs
Similarly with the invoice
{
"billing_details": {
"address": {
"postal_code": "92841",
"country": "US"
}
},
"type": "card",
"referrer": "https://invoice.stripe.com",
"key": "pk_live_*********************************************************************************************PNHBUh",
"card": {
"number": "*********7674",
"exp_month": "06",
"cvc": "",
"exp_year": "28"
},
"payment_user_agent": "stripe.js/1f2a76b2e1; stripe-js-v3/1f2a76b2e1; payment-element; deferred-intent; hip",
"muid": "c1404075-8a39-44b5-a752-f0b96271cccd85f3c3",
"_stripe_version": "2020-03-02",
"time_on_page": "49151",
"guid": "707bec83-64d6-4d98-bbc2-802a47ecb26289671a",
"stripe_account": "acct_1KBiUoFOKywrivJC",
"sid": "ecda4dc1-063b-4494-9200-f329117cc36c17203d"
}
Response body
{
"error": {
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"param": "",
"request_log_url": "https://dashboard.stripe.com/logs/req_CQWB7VvnPV2VKN?t=1706731831",
"type": "card_error"
}
}
Request POST body
{
"billing_details": {
"address": {
"postal_code": "92841",
"country": "US"
}
},
"type": "card",
"referrer": "https://invoice.stripe.com",
"key": "pk_live*********************************************************************************************PNHBUh",
"card": {
"number": "*********7674",
"exp_month": "06",
"cvc": "",
"exp_year": "28"
},
"payment_user_agent": "stripe.js/1f2a76b2e1; stripe-js-v3/1f2a76b2e1; payment-element; deferred-intent; hip",
"muid": "c1404075-8a39-44b5-a752-f0b96271cccd85f3c3",
"_stripe_version": "2020-03-02",
"time_on_page": "49151",
"guid": "707bec83-64d6-4d98-bbc2-802a47ecb26289671a",
"_stripe_account": "acct_1KBiUoFOKywrivJC",
"sid": "ecda4dc1-063b-4494-9200-f329117cc36c17203d"
}
Ah, this req_BEG4Cp2NiFlhj2 is what I'm looking for. It does not look like an integration issue, rather a decline issue. You should push back on this and conrinue working with support on why it was declined. It appears that the card was blocked so you can share this with Support as a next step.
I can't I'm afraid, you'd need to keep working with support.
Sure!
Also all of the PaymentIntent status: requires_confirmation
Support is saying the same thing again
Can you help @magic monolith
I'm so sorry, you need to keep working with support, or ask your customer to use a different card.