ByLost 167 Posted May 29, 2021 Share Posted May 29, 2021 (edited) 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: 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 August 18, 2022 by Metin2 Dev Core X - External 2 Internal 5 1 3 1 5 Link to comment Share on other sites More sharing options...
Benkos 0 Posted June 30, 2021 Share Posted June 30, 2021 Where i can find this line? Link to comment Share on other sites More sharing options...
ByLost 167 Posted August 5, 2021 Author Share Posted August 5, 2021 On 6/30/2021 at 7:12 AM, Benkos said: Onde eu posso encontrar essa linha? This line is in your paypal automatic payment script, if you don't have automatic payment on your website then you won't find it. Link to comment Share on other sites More sharing options...
ATAG 332 Posted April 2, 2023 Share Posted April 2, 2023 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: 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 More sharing options...
Recommended Posts