#417goose_api

1 messages ¡ Page 1 of 1 (latest)

gentle harborBOT
#

👋 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/1227335178968371201

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

keen ledgeBOT
acoustic egret
#

In the end, we would like to be able to record what payment type they used (again; card, klarna, afterpay etc..)

brisk dome
acoustic egret
#

You said likely are u for sure than I need to expand?

brisk dome
#

I'm 99% pretty sure it would be under payment_method
I just haven't tested it myself so would recommend giving it a try to be 100% sure

acoustic egret
#

Ok will try and will come back if unsuccessful. Would I use the expand option on the confirmpayment ? would it then pass it to the return url?

#

Ie:
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
// Make sure to change this to your payment completion page
expand: ['payment_method'],
return_url: "https://wwwscrubin.com/checkoutrecipt.cfm",
},
});

acoustic egret
#

Ok thank you

#

Yes, I think that is what I am looking for.. one more question

#

Na nevermind.