#kyleruban-customer-return
1 messages · Page 1 of 1 (latest)
Hey @untold hinge ! Have you considered using Checkout end to end instead of trying to grasp and build this yourself? It would make your life drastically easier based on past questions you had.
But no we don't have a "template" for this and PaymentElement can only be used to collect new payment method/card details. It can't be used to pre-fill existing card details
kyleruban-customer-return
idk what checkout end to end is
I want to make a payment with just a button on my UI. With this payment I will send in CustomerID and PaymentMethodID. I dont wnat the paymentelement to pop up on my screen I just want to send a customer id nd paymentmethodid and make the payment that way
Checkout is our hosted product that you can send customers to where they can pay, enter card details, etc.
This will not be the customer making this charge
It will be the store making the charge with the customers saved paymentmethodid if the store needs to add a charge to the order after the customer has gone in and made the order
I have all of that done already
I am saying how can i make a payment without having the payment element appear
Do you get what i am saying?
I do, which is exactly what I sent you to
I have the customeriD in my database and I am retreiving the paymentmethodid with that customer id
That doc says which code to write to charge an existing Customer and PaymentMethod