duplicate charges
-
Stripe showed duplicate charges on our stripe account. But there was actually one charge taken out. Stripe script is set to manual due to conflict with woo commerce stripe.
We had two logs that are exactly same, except payment id’s. The time stamp is exactly same.
Request POST body
{
“amount”: “14500”,
“currency”: “USD”,
“payment_method_types”: {
“0”: “card”
},
“statement_descriptor”: “J…”,
“description”: “Help… – Jo… (…@yahoo.com)”,
“metadata”: {
“Email”: “@yahoo.com”,
“Donation Post ID”: “2357”,
“Sequential ID”: “11”
},
“customer”: “cus_H7CtBlRocoAvLl”,
“payment_method”: “pm_1GYyTxDYQyGcjZgVSOIwsKwi”,
“confirm”: “true”,
“return_url”: “https://www.j….donation-confirmation/”,
“receipt_email”: “@yahoo.com”,
“application_fee_amount”: “290”
}
Response body
{
“id”: “pi_1GYyU2DYQyGcjZgVe5Fwlimj”,
“object”: “payment_intent”,
“amount”: 14500,
“amount_capturable”: 0,
“amount_received”: 14500,
“application”: “ca_9aCrgIfxIYTRTkMvw30fMqg92su6Sr1i”,
“application_fee_amount”: 290,
“canceled_at”: null,
“cancellation_reason”: null,
“capture_method”: “automatic”,
“charges”: {
“object”: “list”,
“data”: [
{
“id”: “ch_1GYyU3DYQyGcjZgVVAJvwwWQ”,
“object”: “charge”,
“amount”: 14500,
“amount_refunded”: 0,
“application”: “ca_9aCrgIfxIYTRTkMvw30fMqg92su6Sr1i”,
“application_fee”: “fee_1GYyU4DYQyGcjZgVmCbkko38”,
“application_fee_amount”: 290,
“balance_transaction”: “txn_1GYyU5DYQyGcjZgVoNImXn0g”,
“billing_details”: {
“address”: {
“city”: null,
“country”: null,
“line1”: null,
“line2”: null,
“postal_code”: null,
“state”: null
},
“email”: null,
“name”: “Jo…”,
“phone”: null
},
“calculated_statement_descriptor”: “J…”,
“captured”: true,
“created”: 1587146411,
“currency”: “usd”,
“customer”: “cus_H7CtBlRocoAvLl”,
“description”: “Help… – Jo… (@yahoo.com)”,
“destination”: null,
“dispute”: null,
“disputed”: false,
“failure_code”: null,
“failure_message”: null,
“fraud_details”: {
},
“invoice”: null,
“livemode”: true,
“metadata”: {
“Email”: “@yahoo.com”,
“Donation Post ID”: “2357”,
“Sequential ID”: “11”
},
“on_behalf_of”: null,
“order”: null,
“outcome”: {
“network_status”: “approved_by_network”,
“reason”: null,
“risk_level”: “normal”,
“seller_message”: “Payment complete.”,
“type”: “authorized”
},
“paid”: true,
“payment_intent”: “pi_1GYyU2DYQyGcjZgVe5Fwlimj”,
“payment_method”: “pm_1GYyTxDYQyGcjZgVSOIwsKwi”,
“payment_method_details”: {
“card”: {
“brand”: “mastercard”,
“checks”: {
“address_line1_check”: null,
“address_postal_code_check”: null,
“cvc_check”: “pass”
},
“country”: “US”,
“exp_month”: 7,
“exp_year”: 2024,
“fingerprint”: “jOHOcGikiPIIscHI”,
“funding”: “debit”,
“installments”: null,
“last4”: “0276”,
“network”: “mastercard”,
“three_d_secure”: null,
“wallet”: null
},
“type”: “card”
},
“receipt_email”: “@yahoo.com”,
“receipt_number”: “1582-4064”,
“receipt_url”: “https://pay.stripe.com/receipts/acct_1GOuSP…../ch_1GYyU3DYQyGcjZgVVAJvwwWQ/rcpt_H7CtHWUcTdukXiLezGbjdDkK4ycp6wu”,
“refunded”: false,
“refunds”: {
“object”: “list”,
“data”: [
],
“has_more”: false,
“total_count”: 0,
“url”: “/v1/charges/ch_1GYyU3DYQyGcjZgVVAJvwwWQ/refunds”
},
“review”: null,
“shipping”: null,
“source”: null,
“source_transfer”: null,
“statement_descriptor”: “J…”,
“statement_descriptor_suffix”: null,
“status”: “succeeded”,
“transfer_data”: null,
“transfer_group”: null
}
],
“has_more”: false,
“total_count”: 1,
“url”: “/v1/charges?payment_intent=pi_1GYyU2DYQyGcjZgVe5Fwlimj”
},
“client_secret”: “pi_1GYyU2DYQyGcjZgVe5Fwlimj_secret_4XNraOUgmSujXk3UqcDJ6m3i5”,
“confirmation_method”: “automatic”,
“created”: 1587146410,
“currency”: “usd”,
“customer”: “cus_H7CtBlRocoAvLl”,
“description”: “Help The….us – J.. (…@yahoo.com)”,
“invoice”: null,
“last_payment_error”: null,
“livemode”: true,
“metadata”: {
“Email”: “n…[email protected]”,
“Donation Post ID”: “2357”,
“Sequential ID”: “11”
},
“next_action”: null,
“on_behalf_of”: null,
“payment_method”: “pm_1GYyTxDYQyGcjZgVSOIwsKwi”,
“payment_method_options”: {
“card”: {
“installments”: null,
“request_three_d_secure”: “automatic”
}
},
“payment_method_types”: [
“card”
],
“receipt_email”: “…@yahoo.com”,
“review”: null,
“setup_future_usage”: null,
“shipping”: null,
“source”: null,
“statement_descriptor”: “J….”,
“statement_descriptor_suffix”: null,
“status”: “succeeded”,
“transfer_data”: null,
“transfer_group”: null
}
The topic ‘duplicate charges’ is closed to new replies.