#swe_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/1276180745714536448
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Is the customer attachment not mandatory anymore? For ideal and bancontact?
Also, most of the payment information is only available in payment intents and setup intents, not the payment method. Is this also expected?
Hi, you do not think you can create a subscription without attaching a customer on any payment method types. Yes, it is expected that some payment methods are not possible for recurring payment. However, I am unsure if that is what you're asking on the second question. Can you clarity please?
I am not creating subscription in Stripe. My usecase is below:
- Create a payment intent via ideal with setup future usage
- Confirm ideal payment intent and authorize.
- From the sepa payment method created above, I will use that SEPA payment method for recurring purpose.
In the above step, I did not create any customer at Stripe. Earlier, without customer, I will not be able to use the SEPA for recurring payments. It will throw an error stating that - only attached payment methods can be used. Today, I am able to create SEPA token without customer from ideal.
Reg. my second question, I would like to see mandate, last 4, bank details, payment method, etc in payment method retrieve API. But, I am getting these details only in the initially associated payment intent / in setup intent with expand[] = latest_attempt parameter.
Today, I am able to create SEPA token without customer from ideal.
Is this a recurring payment? Can you share the example request id with me please for when this worked? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_QRAOPuq8Pkudkb
It started from this request ID. I am unable to get the request ID of the related recurring payment.
Hi there taking over here
Looking into this
Do you have a request id where this failed before?
My colleague confirmed that it's fine create a payment intent without passing customer like this
We allow attaching payment method separately after payment intent call
What happens if I don't attach the customer to the payment method at all?
The same payment method - doesn't work again after some time. - req_5JIfJEOL8TmxjM
Also, could you address the second question as well?
This is expected. You didn't attach it
You need to explicitly attach it to a customer first
Above happens. This is a requirement
Okay, got it. Thanks
This should be available in the payment method retrieve call
What are you seeing instead?
We are not receiving mandate information in payment method retrieve call.
{
"id": "pm",
"object": "payment_method",
"allow_redisplay": "unspecified",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": "test@xyz.com",
"name": "John Smith",
"phone": null
},
"created": 1724338805,
"customer": "cus",
"livemode": false,
"metadata": {},
"sepa_debit": {
"bank_code": "RABO",
"branch_code": "",
"country": "NL",
"fingerprint": "fp",
"generated_from": {
"charge": "charge",
"setup_attempt": null
},
"last4": "5264"
},
"type": "sepa_debit"
}
We are receiving the following data only, when I try to retrieve sepa debit. mandate information is not returned in payment method. I will ahve to get it from the charge.
Ah yeah mandates specifically won't show there
You do need to save the id from the charge
Will that initial chargeID be used at a later point? Or is it enough if I save the mandate from payment intent itself?
Will that initial chargeID be used at a later point?
Not sure what you mean by this exactly.
Or is it enough if I save the mandate from payment intent itself?
Yes this is enough
The charge created using the payment intent (during SEPA token generation) - will it be required later for anything?
ah no
Super thank you so much. This helps
No problem