serge Posted January 28, 2016 Report Posted January 28, 2016 Strange After payment, Paypal redirection back to blesta using this URL: https://www.paypalobjects.com/fr/cgi-bin/MY-SITE.COM/order/checkout/complete/test/56aa291d30917 So it's a full wrong URL/page, as it's should be: https://MY-SITE.COM/order/checkout/complete/test/56aa291d30917 Is there a way to fix it or the error just come from Paypal? Quote
0 Michael Posted January 28, 2016 Report Posted January 28, 2016 never came across that before is your API url correct on the PayPal IPN settings? Quote
0 serge Posted January 28, 2016 Author Report Posted January 28, 2016 IPN is enabled at paypal account, but URL set is for an other website of me (not blesta), But until: - IPN is enable at Paypal, the URL paypal use is the one given by Blesta API when the transaction is created. So regarding IPN, all is fine, the order/invoice is well updated as paid from IPN, the issue is on the web-redirection, the URL paypal generate well include the good "part" but Paypal added a prefix : So I add here a space between the 2 URL parts, the issue is "www.paypalobjects.com/fr/cgi-bin/" part: https://www.paypalobjects.com/fr/cgi-bin/ MY-SITE.COM/order/checkout/complete/test/56aa291d30917 Quote
0 Tyson Posted January 28, 2016 Report Posted January 28, 2016 It sounds like that may be an issue with PayPal. You can attempt to make a payment in Blesta, as a client, using PayPal, and when you get to the payment page with the PayPal payment button, view the page source and check the form for the button. It should contain an input field named 'return' with the URL to your Blesta installation. If that URL is correct, as I suspect it will be, then PayPal is prepending their 'paypalobjects.com' URL before yours when they generate the redirect link back to Blesta. You would need to ask PayPal why that is and see what can be done about it. serge 1 Quote
0 serge Posted January 28, 2016 Author Report Posted January 28, 2016 My feeling was it's was issue from Paypal, everything was working fine before. Here is code at paypal page for section , buton/link back to Shop (language is French), I can see it's has the wrong URL prefix paypal object </script><script type="text/javascript" src="https://www.paypalobjects.com/MERCHANTPAYMENTWEB-640-20151004-1/js/lib/min/global.js"></script><script type="text/javascript">PAYPAL.util.lazyLoadRoot = 'https\x3a\x2f\x2fwww\x2epaypalobjects\x2ecom\x2fMERCHANTPAYMENTWEB\x2d640\x2d20151004\x2d1';</script><link rel="shortcut icon" href="https://www.paypalobjects.com/en_US/i/icon/pp_favicon_x.ico"><link rel="apple-touch-icon" href="https://www.paypalobjects.com/en_US/i/pui/apple-touch-icon.png"></head><body><noscript><style type="text/css">body{display:block !important;}</style><p class="nonjsAlert">De nombreuses fonctionnalités PayPal nécessitent JavaScript. Pour payer, <a target="blank" href="https://www.paypal.com/fr/webapps/mpp/preview/how-to-turn-on-javascript?locale.x=fr_FR">activez JavaScript dans votre navigateur Internet</a>.</p></noscript><div class="" id="stdpage"><div id="header"><h1 class="confidential">Netpublica.com Corp.</h1></div><hr><div id="content"><div id="headline"><h1 class="accessAid">Merci de votre commande</h1> </div><div id="messageBox"></div><div id="main"><form method="post" id="merchantredirectform" name="merchantredirectform" action="siteshop.ph/order/checkout/complete/test/56aa5587c8130" accept-charset="utf-8" class=""><input type="hidden" name="mc_gross" value="1.00"><input type="hidden" name="protection_eligibility" value="Ineligible"><input type="hidden" name="payer_id" value="9VYUAQ5W2X6XA"><input type="hidden" name="tax" value="0.00"><input type="hidden" name="payment_date" value="09:54:39 Jan 28, 2016 PST"><input type="hidden" name="payment_status" value="Completed"><input type="hidden" name="charset" value="utf-8"><input type="hidden" name="first_name" value="guy"><input type="hidden" name="mc_fee" value="1.00"><input type="hidden" name="notify_version" value="3.8"><input type="hidden" name="custom" value="222=1.0000"><input type="hidden" name="payer_status" value="verified"><input type="hidden" name="business" value="pay@netpublica.com"><input type="hidden" name="quantity" value="1"><input type="hidden" name="payer_email" value="paypal@netpublica.com"><input type="hidden" name="verify_sign" value="An5ns1Kso7MWUdW4ErQKJJJ4qi4-AG.xizH9AbBf5dKQogKwc3vPfjjh"><input type="hidden" name="txn_id" value="7VH60272ML304063M"><input type="hidden" name="payment_type" value="instant"><input type="hidden" name="payer_business_name" value="NetPublica"><input type="hidden" name="last_name" value="frankin"><input type="hidden" name="receiver_email" value="pay@netpublica.com"><input type="hidden" name="payment_fee" value=""><input type="hidden" name="receiver_id" value="7M54EHLWEN66C"><input type="hidden" name="txn_type" value="web_accept"><input type="hidden" name="item_name" value="Invoice #PROFORMA-SS4536"><input type="hidden" name="mc_currency" value="PHP"><input type="hidden" name="item_number" value=""><input type="hidden" name="residence_country" value="FR"><input type="hidden" name="handling_amount" value="0.00"><input type="hidden" name="transaction_subject" value="222=1.0000"><input type="hidden" name="payment_gross" value=""><input type="hidden" name="shipping" value="0.00"><div class="layout1"><div class="rounded maxWidth"><div class="top outer"></div><div class="body outer nobg clearfix"><div id="secureCheckout" class="lockLogo"><span class="spriteLogo paypallock" title="PayPal"></span></div><h2>Merci de votre commande</h2><p>Votre paiement d'un montant de P1,00 PHP a été effectué.</p><p>Vous allez maintenant être redirigé vers <span class="emphasis confidential">Netpublica.com Corp.</span>. </p><p>Si vous n'êtes pas redirigé d'ici 10 secondes, <span class="buttonAsLink"><input type="submit" value="cliquez ici" id="merchantReturnLink" name="merchant_return_link" class=""></span>.</p><img src="https://altfarm.mediaplex.com/ad/bk/3484-16283-2054-9?MerchPayFlow=1&mpuid=%3b7D973470HA0428622%3b0%3bEUR" border="0" alt=""></div><div class="bottom outer nobg"></div></div><script type="text/javascript"> PAYPAL.util.Event.onDomReady( function() { setTimeout("document.forms.merchantredirectform.submit()", 4000); } ); </script></div><input name="auth" type="hidden" value="AARae.RziSJAii91L2nMiDCo4AQ5WHeqiaY9N5nyjxYQSBgdSS4B2v3wRPpNLWnw.hKC1-ow1LiE5kWjn4HjdYQ"></form></div></div><div id="footerhps"><p>PayPal. Votre réflexe sécurité pour payer en ligne.</p><p> Pour en savoir plus, consultez notre <a target="_blank" href="https://www.paypal.com/fr/cgi-bin/merchantpaymentweb?cmd=p/gen/ua/policy_privacy_pop-outside&country.x=FR" onClick="PAYPAL.core.openWindow(event, {width: 640, height: 300})">Règlement sur le respect de la vie privée</a>, nos <a target="_blank" href="https://www.paypal.com/fr/cgi-bin/merchantpaymentweb?cmd=p/gen/ua/ua_pop-outside&country.x=FR" onClick="PAYPAL.core.openWindow(event, {width: 640, height: 300})">Conditions d'utilisation</a> et notre <a target="_blank" href="https://cms.paypal.com/fr/cgi-bin/marketingweb?cmd=_render-content&content_ID=ua/ServiceDescription_full" onClick="PAYPAL.core.openWindow(event, {width: 640, height: 300})">Description du service</a>.</p><div id="footer" role="contentinfo"><p id="legal">Copyright © 1999-2016 PayPal. Tous droits réservés.</p></div></div></div><script type="text/javascript" src="https://www.paypalobjects.com/MERCHANTPAYMENTWEB-640-20151004-1/js/lib/min/widgets.js"></script> So I will contact paypal support Quote
Question
serge
Strange After payment, Paypal redirection back to blesta using this URL:
So it's a full wrong URL/page, as it's should be:
Is there a way to fix it or the error just come from Paypal?
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.