#JohnnyB - Payment Element
1 messages · Page 1 of 1 (latest)
Hello! Let me pull in your other messages...
Apologies if being redundant, but chat closed before could respond. Per this previous thread: #dev-help message
and based on your suggestions of using Payment element or Card element can we:
- Inform the amount and currency to be charged via API?
- Use Link (remembering the cards) on either of PE or CE?
ty
Not sure I understand the first question. What do you mean by inform? Which API?
For the second question, what do PE and CE stand for?
Payment Element and Card Element?
- Currently, our pricing api is informing/feeding stripe check out with the $ figure to be charged. Does this same process work the same way on Payment Element and Card Element?
that would also apply to currency selection by country: "Automatically adjusts input fields to collect information based on the payment method and country."
- Is link usable on Payment Element and Card Element?
Sorry, I don't understand. Can you provide more specific details?
For #2, Link is supported with the Payment Element, but not with the Card Element: https://stripe.com/docs/payments/payment-methods/integration-options
- ok, we're clear
Regarding #1, we are using our own pricing engine, which currently calculates a price and submits that figure to stripe check out for payment. That is the status quo.
It seems Checkout is no longer the right solution because it requires an email address, and we don't do business with emails, nor do we want to ask for it, so we're now looking at PE and CE (per recommendation here on Discord).
That brings the questions: are we still able to compute the figure on our engine, and submit that figure to Payment Element and Card Element as we do with Checkout?
Gotcha. Yes, you are able to do that. I recommend you use the Payment Element. You can specific a specific amount when you create the Payment Intent that you use with the Payment Element. We have a guide here you can follow: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
excellent
what about using currencies based on location or credit card?
also, how do I get a transcript of this chat?
We do not have a guide for changing the currency based on the location of the card; that's not something the Payment Element supports. If you wanted to do something like that you would need to use the Card Element, collect the Payment Method first, and then create the Payment Intent after that for the currency you want.
You can copy and paste from here, but there's no export function or anything like that. This thread will be archived after being idle, but the content won't go away; you can come back and search for this thread to find it again.
great