Jump to content

Paypal pre-populating fields


rbylart

Recommended Posts

Hello, I have the paypal module 3.5.1 and PS 1.5.4. I am using Paypal Standard as my gateway.

 

Is there a way to stop the module from pre-populating the Paypal fields. Specifically I don't want the "first_name" and "last_name" from coming across. Another solution would be to not have ANY field pre-populate when redirected to Paypal. IE Turn pre-populate OFF completely.

 

The reason is that the delivery name is a different name than that of the buyer and will cause confusion to the buyer if pre-populated

 

I have tried to modify file - paypal / views / hook / integral_evolution_payment.tpl as that had the the files "first_name" and "last_name" as stated in the paypal pre-populating description on the paypal website but this did not work.

 

Hopefully someone may have a solution - Thanks.

Link to comment
Share on other sites

Seemed to have solved this issue by editing

modules/paypal/express_checkout/process.php

 

Changed ADDROVERRIDE to "0" and removed the following statement

$fields['PAYMENTREQUEST_0_SHIPTONAME'] = $address->firstname.' '.$address->lastname;

 

All this around lines 247.

 

Fileds in Paypal are now empty when redirecting.

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...