ZeroHero Posted August 15, 2012 Posted August 15, 2012 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. Quote
a.forever Posted August 29, 2012 Posted August 29, 2012 (edited) Under includes/modules/payment/paypal_standard.php 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 August 29, 2012 by a.forever Quote
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.
Note: Your post will require moderator approval before it will be visible.