#JohnnyB - Payment Element

1 messages · Page 1 of 1 (latest)

viral turret
#

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:

  1. Inform the amount and currency to be charged via API?
  2. 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?

ruby gull
#
  1. 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."

#
  1. Is link usable on Payment Element and Card Element?
viral turret
#

Sorry, I don't understand. Can you provide more specific details?

ruby gull
#
  1. 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?

viral turret
ruby gull
#

excellent

#

what about using currencies based on location or credit card?

#

also, how do I get a transcript of this chat?

viral turret
#

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.

ruby gull
#

understood

#

we'll figure that out

#

and as far as a transcript from this chat?

viral turret
#

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.

ruby gull
#

great