darrend Posted April 30, 2020 Share Posted April 30, 2020 I have set paypal up as a payment method, its showing the option and once the pay by paypal button is clicked the loader spins for a few seconds and comes up with this error - An unknown error occurred. Please try again. All the details are correct and there are no logs being created for it . 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted May 1, 2020 WHMCS Technical Analyst II Share Posted May 1, 2020 Hello, I reported this issue to our development team yesterday, the case for this is MODULE-7407. In the meantime, having your server administrator or hosting provider set the serialize_precision value to “-1” in your PHP configuration will resolve this. 0 Quote Link to comment Share on other sites More sharing options...
darrend Posted May 1, 2020 Author Share Posted May 1, 2020 (edited) Thank you. Where can I Look to keep track of the progress on the fix ? Hosting company have said no to setting it to that unfortunately Edited May 1, 2020 by WHMCS Peter Merged posts. 0 Quote Link to comment Share on other sites More sharing options...
SpiderRobotMan Posted May 4, 2020 Share Posted May 4, 2020 On 5/1/2020 at 6:39 AM, WHMCS Alex said: Hello, I reported this issue to our development team yesterday, the case for this is MODULE-7407. In the meantime, having your server administrator or hosting provider set the serialize_precision value to “-1” in your PHP configuration will resolve this. We have also had reports of this from a few clients, looks like we already have `serialize_precision = -1`. Any suggestions? 0 Quote Link to comment Share on other sites More sharing options...
SpiderRobotMan Posted May 4, 2020 Share Posted May 4, 2020 I've had an opportunity to reproduce this while logged in as a client that had experienced the issue. It looks like the `/paypal/checkout/order` endpoint is returning `{"paypalPlanId":null}`. This is causing an error from the Paypal API shown in my screenshot. I've checked this invoice and service and see nothing that stands out to me, there is no subscription id set for the service since it is a new purchase. The problem occurs as soon as the paypal checkout button is pressed, but only for a handful of clients the majority of them seem to work properly. 0 Quote Link to comment Share on other sites More sharing options...
R3C Hosting Ltd. Posted May 5, 2020 Share Posted May 5, 2020 Thank You Alex your solution has worked for me. You do not need the webhosting provider to implment this change if you have access to the PHP Multi INI Editor you can do it yourself 1. Login to cPanel 2. Navigate to PHP Multi INI Editor 3. Select the domain you wish to edit 4. Click the Apply 5. Click on Editor Mode 6. Select the domain again 7. Add the following to the bottom of the file serialize_precision = -1 8. Click Save Note you may need to modify one of the Setting in the Basic Mode to get cPanel to save a ini file for the domain I enabled zlib.output option on the bottom. you may want to increase the max ram or max input vars. Try connecting to PayPal it Works. I hope this helps Brent 0 Quote Link to comment Share on other sites More sharing options...
veilsman Posted May 5, 2020 Share Posted May 5, 2020 Hola tenia el mismo error que tu tienes, estuve investigando y ninguna solución por parte de paypal ni whmcs. Lo solucione de la siguiente manera. Entrando a paypal opción en el pie de página > developer || luego entrando a mi cuenta de paypal en la sección > My Apps & Credentials > Live My Apps & Credentials SandboxLive REST API apps App Name Type Actions MyApp_WHMCS REST MyApp_WHMCS REST Create App He eliminado todas las App repetidas. uego en whmcs desde la sección Pasarela de pagos volviendo a elegir PAYPAL volvi a conectarlo y Listo, Me funcionó. Le sugiero que verifique entrando a paypal en la opción developer o desarrolladores e iniciando sesion eliminar las App que tenga de whmcs y luego entrando a su panel whmcs volver a conectarlo a paypal. Ahora estoy buscando como hacer que funcione la opción de pago > PayPal Website Payments Pro si alguno conoce cómo hacer que funcione se agradece su respuesta. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 6, 2020 Share Posted May 6, 2020 it's worth noting that there is a hotfix available for this issue now. 0 Quote Link to comment Share on other sites More sharing options...
ZonePlus Posted May 9, 2020 Share Posted May 9, 2020 The "PayPal Express Checkout" module does not work alone. I activate "PayPal Basic" module (hidden to order) and the Express module works! 0 Quote Link to comment Share on other sites More sharing options...
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.