#Wizard-capture-payment-intent
1 messages ยท Page 1 of 1 (latest)
Can you explain a bit more about what's happening? What do you mean by "outside platform"?
Do you have an example payment intent ID I can look at while you elaborate?
by outside platform, I mean a proprietary software a client uses to capture payment information that is supposed to be passing on the captured payment info over to Stripe, but for some reason, it goes uncaptured in Stripe. I have the code of a particular instance if you would like to take a lookie
I still don't understand. What information is being passed to Stripe?
What is the proprietary software that's being used? Is it a 3rd party plugin? An app?
the payment method
Yes, but is it raw PANs? Payment method IDs? What's actually being passed to Stripe? How is it being passed?
via a payment method ID
it's getting passed from POW to Stripe
that;s the intention at least, but Apple Pay occasionally doesn't successfully pass it
does this help?
Not really. I don't know what POW is and I have nothing to go off of here. You can post the code if you want, in case it helps, but no guarantee
Okay, so that's a payment method object. What are you trying to do with it?
i'm trying to figure out why an uncaptured Payment Intent that we've processed in POW, remains uncaptured in Stripe
do you require to see something else? i apologize if this isn't what you require
Hi ๐ I'm stepping in for my colleague @knotty granite as they have to go.
hi Snufkin
So what is it you are trying to do with this payment intent?
i'm trying to figure out why an uncaptured Payment Intent that we've processed in POW, remains uncaptured in Stripe
here's the code
That's not code, it's a payment intent. the same one you shared above. I'm looking at it now.
So this is a Terminal request.
It requires that you both confirm and capture the payment
The /confirm API request was made 8 seconds after it was created: https://dashboard.stripe.com/logs/req_Ft6wtJFZeG6EIE
But there was never an API request to capture the funds
so to resolve this the user would need to make sure an API request was created to capture the funds?
Well the /capture request should be made by the Android POS system being used to create the payments.
It's the last step in our "Collect Payments" doc for terminal: https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=android#capture-payment
Which is actually done on the server but the Android app makes the request to the server to trigger the action (generally)
I see, I will send this over to the client and see if this resolves the issue, I appreciate it Snufkin!
Happy to shed what light I can ๐
I have one final question, which I think the same answer would apply for. do you mind assiting?
I'll offer what help I can. What's the question?
{
"id": "pi_3LT7C5A8GiVuelrm1mK2MAN0",
"object": "payment_intent",
"last_payment_error": {
"charge": "ch_3LT7C5A8GiVuelrm1YBe3Lor",
"code": "card_declined",
"decline_code": "test_mode_live_card",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined. Your request was in test mode, but used a non test (live) card. For a list of valid test cards, visit: https://stripe.com/docs/testing.",
"payment_method": {
"id": "pm_1LT7CkA8GiVuelrm996sA1Da",
"object": "payment_method",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"card_present": {
},
"created": 1659631647,
"customer": null,
"livemode": false,
"metadata": {
},
"type": "card_present"
},
"type": "card_error"
},
"livemode": false,
"next_action": null,
"status": "requires_payment_method",
"amount": 4200,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"charges": {
"object": "list",
"data": [
{
"id": "ch_3LT7C5A8GiVuelrm1YBe3Lor",
"object": "charge",
"amount": 4200,
"amount_captured": 0,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"authorization_code": "123456",
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"calculated_statement_descriptor": "RESTORE.COM",
"captured": false,
"created": 1659631647,
"currency": "usd",
"customer": "cus_MBUAZJxCM6lfsV",
"description": null,
"destination": null,
"dis
json looks incomplete, but was wondering if same answer applies to this too?
This is not very helpful. Could you just describe in words what you expect to see and what is different?
Also the error code tells you exactly what is going on here
Your card was declined. Your request was in test mode, but used a non test (live) card. For a list of valid test cards, visit