java - Slash ("/") added to my return URL -



java - Slash ("/") added to my return URL -

i'm creating payment rest api through paypal sdk. seems work fine, redirect paypal, payment itself. when homecoming shop paypal, returnurl has "/" added end.

instead of

http://192.168.41.174/confirm

i'm beingness redirected

http://192.168.41.174/confirm/

the payload of payment creation request is:

{ "intent": "sale", "payer": { "payment_method": "paypal" }, "transactions": [ { "amount": { "currency": "eur", "total": "21.27", "details": { "shipping": "4.99", "subtotal": "16.28" } }, "description": "thank purchase!" } ], "redirect_urls": { "return_url": "http://192.168.41.174/confirm", "cancel_url": "http://192.168.41.174/checkout" } }

so can pretty much exclude error on side. except if there configuration homecoming urls don't know of? if manually remove added slash, maintain parameters, payment can processed , captured. it's added slash out of doesn't work.

paypal fixing issue soon. https://github.com/paypal/paypal-php-sdk/issues/146

for time beingness can add together ? end of urls.

"redirect_urls": { "return_url": "...confirm?", "cancel_url": "...checkout?" }

java rest paypal

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -