Jump to content

4.7.9 broke Paypal checkout


Go to solution Solved by Stuart Silvester,

Recommended Posts

Posted (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 by Daddy
  • Solution
Posted

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...