#fbcosta

1 messages · Page 1 of 1 (latest)

feral flameBOT
primal field
#

i.e. you place a auth/hold for $X, you collect payment details for the auth/hold via Apple Pay. If the 'bid' is accepted the you capture the payment. Otherwise cancel/release it.

queen obsidian
#

can we not use a PaymentIntent? We don't want to hold the funds on their card

#

the other issue is we want to edit the Apple Pay message from "Amount Pending" to something else e.g. "Card Authorization". Is that possible? One of your colleagues I spoke to a while back seemed to think so

primal field
queen obsidian
#

So however we set it up, it will say "Amount Pending?". It's very off-putting for users..

primal field
#

Hmm, can you share a pi_xxx and how you create the Payment Request instance?

queen obsidian
#

I think the issue is that we can't set up a paymentIntent for £0.00, charge later and edit the label right?

queen obsidian
#

this is what we are looking to achieve, with the ability to charge the card later

primal field
queen obsidian
#

what is the difference between a paymentIntent and a setupIntent?

primal field
#

A Setup Intent facilitates creating/saving payment details for future payments, which you just described before (e.g. no immediate payment)

queen obsidian
#

and it can be paired with the Payment Request Button?

mortal sinew
#

yes. Or you can just use the PaymentElement since that also supports cards and other methods at the same time/same code

queen obsidian
#

we get this error when trying to use setup Intent with the payment request button

mortal sinew
#

yeah because you have to use confirmCardSetup instead

#

the docs on the payment request page in the docs are geared towards payments so they mention confirmCardPayment, you can simply adapt it to use the SetupIntent confirmation if you want

queen obsidian
#

will this setup allow us to edit the text for the "Amount Pending" issue?

mortal sinew
#

you should make sure whatever you end up making the sheet show is accurate/not confusing so as to reduce the chances of disputes/chargebacks

queen obsidian
#

this is really not ideal... and are we able to display the amount (e.g. £400) and add a label (e.g. "this amount will only be charged if the bid is accepted) and NOT charge the card?

mortal sinew
#

no, you're limited by what these native wallet sheets support

queen obsidian
mortal sinew
queen obsidian
#

When i say label, I mean an additional piece of text

#

in addition to "Amount Pending"

mortal sinew
#

yep, but as far as I know that can't be done