#NandiniGopi

1 messages · Page 1 of 1 (latest)

stable yokeBOT
velvet radish
#

Hi there!

#

What do you mean by "part payment"?

slim glen
#

Custom pricing

#

I have a custom checkout session so can I edit the pricing field ?

velvet radish
#

I'm sorry I'm not sure I understand. Do you want the end user to edit the price in the Checkout Session?

slim glen
#

yes

velvet radish
slim glen
#

this is my code

#

will please check this one

velvet radish
#

Have you tried running your code? Is it working or returning an error?

slim glen
#

i cant edit the price

#

i can't edit the price field

velvet radish
#

Can you share the price ID (price_xxx) your are using?

slim glen
#

ok

#

i am sorry. i am not able to create one.

velvet radish
slim glen
#

prod_NnOyuqMPpThrsE

#

this is my product id

velvet radish
#

This product has no Price set.

#

Are you a software developer? And have you read the link I shared above?

slim glen
#

yes

#

i already set those things. but it's not working.

velvet radish
#

What have you tried? What is not working? What error message do you see?

#

Without this type of information, I cannot help you.

slim glen
#

there is no error in my code

#

It is not generating a checkout session URL right now.

velvet radish
#

Did you manage to create a Checkout Session? Can you share the request ID or Checkout Session ID or URL?

slim glen
#

Url is not coming

velvet radish
slim glen
#

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.

velvet radish
#

Can you copy paste your code here and also the error message you see?

slim glen
#

acct_1MoLbuSJah0e34Op

stable yokeBOT
somber burrow
#

Hey! Taking over for my colleague.
What you want to achieve exactly? can you please give more details?

slim glen
#

please give a minute

#

This is my code.

#

I didn't get any checkout session URL.

somber burrow
#

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)

slim glen
#

thank you .