cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 - Paypal Error - PayPal cannot be accessed with the GET method

Magento 2 - Paypal Error - PayPal cannot be accessed with the GET method

If pay with CC getting 404 error and https://payflowlink.paypal.com/ 302 error, log says cannot be accessed with the GET method, how to set the right settings?

 

Log error : cannot be accessed with GET method (Magento\Paypal\Controller\Transparent\Response)

Response.php => https://justpaste.it/5kot8

 

Checkout Screenshot :  https://snipboard.io/yQn3Ui.jpg

4 REPLIES 4

Re: Magento 2 - Paypal Error - PayPal cannot be accessed with the GET method

Hello @Aveeva 

 

I think you should use POST Method instead of GET. 

 

If my answer is useful, please Accept as Solution & give Kudos

Thank you
Anant Prajapati
Magento Certified Developer

Re: Magento 2 - Paypal Error - PayPal cannot be accessed with the GET method

@anantprajapati Where i need to update?

Re: Magento 2 - Paypal Error - PayPal cannot be accessed with the GET method

Hello @Aveeva 

 

Please follow the below steps. 

 

1) You should configure Return URL Method in your manager.paypal.com account: Service Settings > Hosted Checkout Pages > Set Up > Payment Confirmation section.

2) Go to your manager.paypal.com,

2.1) Then go at "Home > Service Summary > Hosted Checkout Pages >Set up" and set Cancel URL Method to POST;

2.2) Return URL Method: POST;

2.3) Enable Secure Token: Yes;

This will capture the real amount after Authorize the amount 0, this action works immediately.

3) Go to Paypal Manager > Account Administration > Transaction Settings and set Allow reference transactions to Yes. This action will take effect in an hour.

 

If my answer is useful, please Accept as Solution & give Kudos

Thank you
Anant Prajapati
Magento Certified Developer

Re: Magento 2 - Paypal Error - PayPal cannot be accessed with the GET method

Hi guys,

 

we recently migrated to Magento 2.4.2 version.

 

We noticed that transactions placed using PayPal Payflow Pro were failing.

After checking settings in our paypal manager account and setting cancel and return url method to POST, transactions started to go through and we stopped getting errors, but we noticed a different issue, most orders started to come in as "Suspected Fraud".

 

Do you know what settings we need to adjust inside Magento admin in order to fix this?

 

Thank you.