Dear All,
Using OSC v2.2 and PayPal Website Payments Standard.
I live in Singapore and to accommodate the local address format i have added 2 extra customer address field. They are for the house / block number and unit number.
Is it possible to get PayPal to return these 2 fields?
PayPal also ignore the suburb filed. Is it possible to pass this field to PayPal so that it is return to the order invoice?
At the moment, only the "STREET_ADDRESS" field is capture by PayPal and return to the OSCommerce which was record in the successful order invoice.
Thank you in advance for your help.
Latest News: (loading..)
PayPal is not returning customer extra fields
Started by ZeroHero, Aug 15 2012 10:28 AM
paypal address
1 reply to this topic
#1
Posted 15 August 2012 - 10:28 AM
#2
Posted 29 August 2012 - 05:53 PM
Under includes/modules/payment/paypal_standard.php
FIND:
ADD BELOW:
You may forward those two extra fields to PayPal by modifiying either line. Merge both fields into the return (i.e. $order->customer['firstfield'] . ' ' . $order->customer['lastfield'])
FIND:
'customers_street_address' => $order->customer['street_address'],
ADD BELOW:
'customers_suburb' => $order->customer['suburb'],
You may forward those two extra fields to PayPal by modifiying either line. Merge both fields into the return (i.e. $order->customer['firstfield'] . ' ' . $order->customer['lastfield'])
Edited by a.forever, 29 August 2012 - 05:54 PM.
Also tagged with one or more of these keywords: paypal, address
osCommerce Online Merchant v2.x →
General Support →
After order OS send multiple Order Process emails + moreStarted by snakelimit, 09 May 2013 |
|
|
||
osCommerce Online Merchant v2.x →
General Support →
Newbie needs help linking PaypalStarted by sandwiches, 07 May 2013 |
|
|
||
osCommerce Online Merchant v2.x →
Add-Ons →
Languages and Zones →
After install language add on cannot checkout w PaypalStarted by webrookie, 25 Apr 2013 |
|
|
||
osCommerce Online Merchant v2.x →
General Support →
PayPal payment with custom amountsStarted by dking, 23 Apr 2013 |
|
|
||
osCommerce Online Merchant v2.x →
General Support →
Does OSCommerce Integrate with Payment Platform Pagseguro?Started by eirlymeyer, 21 Apr 2013 |
|
|









