Search the Community
Showing results for tags 'returnURL'.
-
Hi, I have a payments module which redirects to an external server and then receives a redirect after the server does some tasks. I am getting a 404 error with the return URL even though a PHP script with the name 'order-confirmation.php' exists. // remote server redirecting to https://localhost/prestashop/order-confirmation.php?<some_parameters_here> Am I missing something here? How does one handle return URLs in custom modules?
-
Hi there, I wish to redirect my customers to a different page than is default when they finish/cancel their order with PayPal. I have to make sure that any hidden data is still sent to prestashop, to ensure that all orders are coming in. I've found some code in /express_checkout/process.php, but i'm not quite sure how to change it properly: private function _setPaymentDetails(&$fields) { // Required field $fields['RETURNURL'] = PayPal::getShopDomainSsl(true, true)._MODULE_DIR_.$this->name.'/express_checkout/payment.php'; $fields['NOSHIPPING'] = '1'; $fields['BUTTONSOURCE'] = $this->getTrackingCode((int)Configuration::get('PAYPAL_PAYMENT_METHOD')); Best, Dave
- 4 replies
-
- paypal module
- cancelurl
-
(and 1 more)
Tagged with:
-
Hello PS users. PS 1.5.4.1 Paypal Versión : 3.4.8 First, I have a problem in the form (last step of the order), looks like a link to choose paypal, but is a form. Modify this: modules/paypal/views/templates/hook/express_checkout_payment.tpl Line 42 <form id="paypal_payment_form" action="{$base_dir}modules/paypal/express_checkout/payment.php" data-ajax="false" title="{l s='Pay with PayPal' mod='paypal'}" method="post"> <input type="hidden" name="express_checkout" value="{$PayPal_payment_type}"/> <input type="hidden" name="current_shop_url" value="{$base_dir}{$smarty.server.REQUEST_URI}" /> <!--<input type="hidden" name="current_shop_url" value="{$PayPal_current_shop_url}" />--> </form> NB: I'm not using ssl. Now you will have to fix the returnurl error 10471 modules/paypal/express_checkout/payment.php Line 338 $shop_domain = PayPal::getShopDomainSsl(false, true); modules/paypal/express_checkout/process.php Line 212 $fields['RETURNURL'] = PayPal::getShopDomainSsl(false, true)._MODULE_DIR_.$this->name.'/express_checkout/payment.php'; I hope this information will be useful to you. Good Luck
- 1 reply
-
- RETURNURL
- RETURN URL
-
(and 3 more)
Tagged with:
-
Hi all, I am using the paymentsense module (http://developers.pa....uk/prestashop/) with Presashop 1.5.3.1. Everything is working fine and the payments are taken, but the problem occurs when the Paymentsense form is meant to redirect the user back to my store. Nothing happens. I just see the message that the payment has been authorised and the system gets stuck on this page. Here is the error that paymentsense have emailed to me: Hello, You are receiving this email as an error occurred whilst processing a payment using our hosted payment form solution. We were unable to successfully deliver the transaction result to your system. This could have been caused by a network problem (e.g. a connection timeout), or an error occurring on your ServerResultURL page. Please see the end of this email for more details about this error. As this error happened after the transaction was processed, we suppressed it from the customer, and displayed the transaction result to them on our system. Here is the result of this transaction: StatusCode: 0 Message: AuthCode: ****** CrossReference: ****** OrderID: 20130306-161015~18 Amount : **** GBP We recommend that you log into the MMS (https://mms.paymentsensegateway.com) and verify the result against our record of the transaction in the transaction history page. Thank You, PaymentSense ------------------------------------------------------- Additional detailed information relating to this error: ERROR 13326: Couldn't speak to ServerResultURL [http:/www.mydomain.com/shop/modules/ps_paymentsense/callback.php]. Full Error Details: The remote server returned an error: (500) Internal Server Error. Vary: Host,Accept-Encoding X-UA-Compatible: IE=Edge,chrome=1 X-FRAME-OPTIONS: SAMEORIGIN Connection: close Content-Length: 0 Cache-Control: no-transform Content-Type: text/html; charset=utf-8 Date: Wed, 06 Mar 2013 16:11:39 GMT Expires: Wed, 06 Mar 2013 16:11:39 GMT Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 X-Powered-By: PHP/5.3.19 So it looks like there is a problem with the ServerResultURL . If I go directly to the page http:/www.mydomain.com/shop/modules/ps_paymentsense/callback.php on my site I get the message StatusCode=30&Message=Hashes did not match -so at least the page is there and it is working as it states the SHA-1 Hash isn't correct. If anyone could help me to pinpoint why this is happening I would be very grateful. I'm pretty competent at PHP and smarty, so if anyone has come across this before and knows which files need editing please let me know. At first I thought it might be something to do with permissions, or maybe something in the config files. Kind regards Jp
- 11 replies
-
- 1
-
-
- payment
- paymentsense
-
(and 1 more)
Tagged with: