I have this scenario that i need to override shipping address of my buyer so i got this code in my PaypalIpnConfig.php file:
var $settings = array(
//more settings
'address1'=>'test address st',
'address2'=>'test address st 2',
'country'=>'United States',
'state'=>'Alaska',
'city'=> 'Anchorage',
'zip'=>'99501',
'address_override' =>'1'
);
but after reloading my site, i get this warning:
Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address.
i checked some of the questions similar to my issue however i did not get the answer i neede
How to send Shipping address to Paypal, when using Paypal IPN
Paypal Address Override not working
what could possibly be wrong?