checkout.js my servers create_url response

canhope
Contributor
Contributor

Hi,

I wonder if anyone can help. I have incorporated checkout.js into my webpage. And have coded a 'Create_URL' page into my server. Which correctly gets a token and creates a payment.

 

But I don't know what format the response from my webpage should be. I have tried just sending the text of the payment id back ("id" from the json returned from paypal).

 

Once the information is returned from my server they Paypal window just closes!

 

thanks for any help you can give.

Login to Me Too
1 REPLY 1

canhope
Contributor
Contributor

I have now found a redirect url in the json reply from paypal when setting up a payment. I am going to try the redirect and see if that works!

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.