#tom-hainge_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1394667698759405690
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
cus_SgBUKusikMfv1I
pmc_1RiuHRK21COG1LYII7PyRr0s
{
"object": {
"id": "pi_3Rl4beK21COG1LYI0TBoEQDy",
"object": "payment_intent",
"amount": 951500,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": {
"allow_redirects": "always",
"enabled": true
},
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3Rl4beK21COG1LYI0TBoEQDy_secret_MCYvcd7iQwRc5HSn1Y6OmONUD",
"confirmation_method": "automatic",
"created": 1752569578,
"currency": "gbp",
"customer": "cus_SgBUKusikMfv1I",
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {
"InvoiceId": "in_1Rl4bbK21COG1LYIGTokMc6A",
"IsSystem": "True",
"System": "EnrollmentFees"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_configuration_details": {
"id": "pmc_1RiuHRK21COG1LYII7PyRr0s",
"parent": null
},
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
},
"link": {
"persistent_token": null
}
},
"payment_method_types": [
"card",
"link"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": "off_session",
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_payment_method",
"transfer_data": null,
"transfer_group": null
},
"previous_attributes": null
}
^payment_intent
hey there, thanks for the example
While I do see the customer set, you've got specified the required parameters for bank transfer payments
heya, thanks for helping me with this!
is that because i've not included bank_transfer in the payment method types?
Still looking at this to check a few things
Ah, i see it now
I think this is because you've set setup_future_usage on the payment intent, which is not supported for bank transfers
https://dashboard.stripe.com/test/logs/req_GFWpLWPpG1tbyW
https://docs.stripe.com/payments/bank-transfers#api-support
You should try this again with that removed, or you can manually show the bank transfer instructions and manually reconcile the payment when received, if you want to keep the future usage as-is for the other payment methods you might collect.
Unreal! Thanks so much for this, totally missed that in the doc