How to enable users decide the amount to pay with the Web SDKs #6989
Kamal-Moha
started this conversation in
General
Replies: 1 comment
-
Hey @Kamal-Moha, in your integration I can see that there is a function to calculate the amount |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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