Jump to content

Paymant check out "Pending or On Hold" Paypal


Recommended Posts

Hello Devs!

I had some problems with the paypal. 
Payments were being completed but the cash/md was not being delivered.
Until I found the solution.

Problem:
spacer.png

 

The solution is very simple, you need to think first that every payment has a status.
So here we see all the payment statusof the paypal.

https://www.masonadventures.com/paypal-payment-status/#:~:text=Pending – PayPal is reviewing the,d like to cancel it.

And check "On hold and Temporary hold"

This security status is for the paypal whether your transaction actually occurred and the product was delivered.
This can occur primarily if your account is NEW.

For our case, the service is digital and delivery needs to be made. Payment is only released after a few days or manually.

 

Solution:

check your script paument "Paypal" = Completed
 

Quote

if ( $responseNvp[ 'PAYMENTINFO_0_PAYMENTSTATUS' ] == 'Completed' )


Change to
 

Quote

if ( $responseNvp[ 'PAYMENTINFO_0_PAYMENTSTATUS' ] == 'Completed' or 'On Hold' or 'Temporary hold')



Enjoy :)
ps: usage Translator xD

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 5
  • Think 1
  • Good 3
  • Love 1
  • Love 4
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 1 year later...
  • Active Member
On 5/29/2021 at 9:59 PM, ByLost said:

Hello Devs!

I had some problems with the paypal. 
Payments were being completed but the cash/md was not being delivered.
Until I found the solution.

Problem:
spacer.png

 

The solution is very simple, you need to think first that every payment has a status.
So here we see all the payment statusof the paypal.

https://www.masonadventures.com/paypal-payment-status/#:~:text=Pending – PayPal is reviewing the,d like to cancel it.

And check "On hold and Temporary hold"

This security status is for the paypal whether your transaction actually occurred and the product was delivered.
This can occur primarily if your account is NEW.

For our case, the service is digital and delivery needs to be made. Payment is only released after a few days or manually.

 

Solution:

check your script paument "Paypal" = Completed
 


Change to
 



Enjoy :)
ps: usage Translator xD

Also can use the 'Refunded' status flag to reduce the cash balance 🙂

Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.