#Simon1709-payment

1 messages · Page 1 of 1 (latest)

tidal sonnet
#

Hello!

sick surge
#

hey karbi hope you are well

tidal sonnet
#

Is the issue with payment links that you want the link to only be valid for a single payment?

sick surge
#

yeah

#

is that something you can do with payment links

#

ive seen you can deactivate them so i guess once i get the checkout session response and i know its complete i could make another request to deactivate it

tidal sonnet
#

Let me dig around and see if I can think of a good solution

sick surge
#

i think on the docs that is the solution

#

i read up to the tracking payments here

tidal sonnet
#

Is it a hard requirement that you use Payment Links, or will Checkout Sessions also work for you?

sick surge
#

basically i want to send a link to the customer say we need to add something extra onto their booking we did just charge them over the phone using the standard charges api however we need to be able to email them a link instead of taking details over the phone

tidal sonnet
#

Do you know the amount that you want to be charging them ahead of time (before you send the email?)

sick surge
#

yeah so we have a form on our app which our operator submits with like the amount, description customer info etc

#

usually the operator submits the card details too

#

but we want to change it so the customer doesnt have to give those details to the game operator or any staff member

tidal sonnet
#

I think Checkout or Invoices may be a better option for you - Checkout is similar to Payment Links but they are one-time use and can't be paid for multiple times. The only issue with that is that these links expire after 24 hours so it doesn't make sense to email them to your customers (who may want to pay after 24 hours). Instead, in the email you'd put a link to your own page that will automtically create and redirect your customer to checkout.

Invoices is another option and has built in functionality for us to email the Invoice to your user and have them pay through one of our hosted pages

sick surge
#

invoices was my next port of call i think, on successful payment does that send a different event to checkout.session.completed

#

can you create a payment link for connect accounts too?

tidal sonnet
#

Invoices don't send a checkout.session.completed event. they send invoice.paid instead

#

And yes, you can create payment links for conencted accounts

sick surge
#

where would i add the application fee

tidal sonnet
#

For payment links? Or something else?

sick surge
#

never mind i found it