Jump to content

Paypal Issue


Recommended Posts

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 .

Untitled.png

Link to comment
Share on other sites

  • WHMCS Technical Analyst II

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. 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

chrome_hQSL5u1q2V.png

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated