Jump to content

Paypal Error 10471 (Solved)


rubenmendoza

Recommended Posts

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...