How to enable users decide the amount to pay with the Web SDKs #6989
Kamal-Moha
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I'm trying to create a checkout page whereby users have to enter the amount they want to pay before proceeding.
I have managed to use the starter HTML & Node Web SDK which rendered properly. But unfortunately, I see it has a product with a fixed amount of 13USD.
I have found it difficult to edit this in order to fit my needs of asking users to add money to pay before checking out. I have managed to create the frontend of how I want things to be with user input. My issue is passing user input into the Hyperswitch payment intent.
Here's my checkout.js file
Here's the checkout.html page;
Here's the server.js file;
Please help me create this checkout pge with this customizations. Thanks
Beta Was this translation helpful? Give feedback.
All reactions