#NandiniGopi
1 messages · Page 1 of 1 (latest)
I'm sorry I'm not sure I understand. Do you want the end user to edit the price in the Checkout Session?
yes
This is covered here: https://stripe.com/docs/payments/checkout/pay-what-you-want
Have you tried running your code? Is it working or returning an error?
Can you share the price ID (price_xxx) your are using?
The link I shared above shows how to create a Price with custom amount: https://stripe.com/docs/payments/checkout/pay-what-you-want
This product has no Price set.
Are you a software developer? And have you read the link I shared above?
What have you tried? What is not working? What error message do you see?
Without this type of information, I cannot help you.
Did you manage to create a Checkout Session? Can you share the request ID or Checkout Session ID or URL?
Url is not coming
Can you share your account ID (acct_xxx)? It's at the top of this page: https://dashboard.stripe.com/settings/account
I created a apex call out method to create a checkout session url and there is no error in it ,but it is not return any url.
Can you copy paste your code here and also the error message you see?
acct_1MoLbuSJah0e34Op
Hey! Taking over for my colleague.
What you want to achieve exactly? can you please give more details?
I'm seeing you are trying to implement a Java integration for Checkout Sessions?
I invite you to start downloading/following this complete sample project:
https://stripe.com/docs/payments/quickstart?platform=web&client=html&lang=java
You should be using our Java SDK... but I'm seeing here you are making native http calls
You should get a checkout session url in line 207 (according to the file you were sharing)
thank you .