[go: up one dir, main page]

XF 2.3 Paypal Payments on 2.3.2

est3ban129

Active member
I have upgraded to 2.3.2 and I have configured the new PayPal payment method, but when I go to pay for user upgrades with subscription, it tells me that they do not exist.
However with the legacy option they do work.
This happens with recurring subscriptions.
How can I fix this?

PHP:
ErrorException: Problem getting PayPal product (user_upgrade_15): The specified resource does not exist.
src/XF/Error.php:82
Generated by: est3ban129
Aug 25, 2024 at 7:06 AM
Stack trace
#0 src/XF.php(262): XF\Error->logError('Problem getting...', false)
#1 src/XF/Payment/PayPalRest.php(351): XF::logError('Problem getting...')
#2 src/XF/Payment/PayPalRest.php(388): XF\Payment\PayPalRest->getProductById(Object(XF\Purchasable\Purchase), 'user_upgrade_15')
#3 src/XF/Pub/Controller/PurchaseController.php(35): XF\Payment\PayPalRest->initiatePayment(Object(XF\Pub\Controller\PurchaseController), Object(XF\Entity\PurchaseRequest), Object(XF\Purchasable\Purchase))
#4 src/XF/Mvc/Dispatcher.php(362): XF\Pub\Controller\PurchaseController->actionIndex(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Purchase', 'Index', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\PurchaseController), NULL)
#6 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\PurchaseController), NULL)
#7 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2813): XF\Mvc\Dispatcher->run()
#9 src/XF.php(802): XF\App->run()
#10 index.php(23): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
  ["url"] => string(52) "/index.php?purchase/user_upgrade/&user_upgrade_id=15"
  ["referrer"] => string(44) "https://cloudbit.es/index.php?suscripciones/"
  ["_GET"] => array(2) {
    ["purchase/user_upgrade/"] => string(0) ""
    ["user_upgrade_id"] => string(2) "15"
  }
  ["_POST"] => array(5) {
    ["_xfToken"] => string(8) "********"
    ["payment_profile_id"] => string(2) "10"
    ["_xfResponseType"] => string(4) "json"
    ["_xfWithData"] => string(1) "1"
    ["_xfRequestUri"] => string(25) "/index.php?suscripciones/"
  }
}
 
Back
Top Bottom