Daddy Posted April 4, 2023 Posted April 4, 2023 (edited) You can no longer checkout with PayPal API. TypeError: IPS\nexus\Gateway\_PayPal::_getAddress(): Argument #1 ($address) must be of type IPS\GeoLocation, null given, called in /home/-----/public_html/applications/nexus/sources/Gateway/PayPal/PayPal.php on line 456 (0) #0 /home/-----/public_html/applications/nexus/sources/Gateway/PayPal/PayPal.php(456): IPS\nexus\Gateway\_PayPal->_getAddress(NULL, Object(IPS\nexus\Customer)) #1 /home/-----/public_html/applications/nexus/sources/Gateway/PayPal/PayPal.php(289): IPS\nexus\Gateway\_PayPal->_paypalAuth(Object(IPS\nexus\Transaction), NULL) #2 /home/-----/public_html/applications/nexus/modules/front/checkout/checkout.php(1560): IPS\nexus\Gateway\_PayPal->auth(Object(IPS\nexus\Transaction), Array, NULL, Array, 'checkout') #3 /home/-----/public_html/system/Helpers/Wizard/Wizard.php(181): IPS\nexus\modules\front\checkout\_checkout->_pay(Array) #4 /home/-----/public_html/applications/nexus/modules/front/checkout/checkout.php(170): IPS\Helpers\_Wizard->__toString() #5 /home/-----/public_html/system/Dispatcher/Controller.php(118): IPS\nexus\modules\front\checkout\_checkout->manage() #6 /home/-----/public_html/applications/nexus/modules/front/checkout/checkout.php(57): IPS\Dispatcher\_Controller->execute() #7 /home/-----/public_html/system/Dispatcher/Dispatcher.php(153): IPS\nexus\modules\front\checkout\_checkout->execute() #8 /home/-----/public_html/index.php(13): IPS\_Dispatcher->run() #9 {main} Edited April 4, 2023 by Daddy Charles and SeNioR- 1 1
Stuart Silvester Posted April 5, 2023 Posted April 5, 2023 Thank you for letting us know, it looks like this is specific to not requiring a billing address for purchases. We're testing a fix and we'll provide an update shortly. Marc and DawPi 2
Solution Stuart Silvester Posted April 5, 2023 Solution Posted April 5, 2023 A fix is now available for this issue in new downloads of 4.7.9 and for those already on 4.7.9, it can be obtained from the AdminCP > support page in the top left box. Those potentially affected will also see an AdminCP notification asking them to apply the patch Marc 1
Recommended Posts