Magento + Paypal Express Checkout on Sandbox Mode - magento

I'm trying to test Paypal Express Checkout with a sandbox seller account, and with sandbox mode enabled on the Magento Configuration.
The "checkout with paypal" button shows up on shopping cart but when I click it it redirects me to an URL like:
https://www.paypal.com/cgi-bin/webscr?cmd=_flow&SESSION=
And shows the following error:
Your session has ended
This transaction has expired....
According to this post, for sandbox mode I should be being redirected to something like:
https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&useraction=commit&token=
When I copied the token and used such URL it worked fine.
What can I do to get the sandbox URL to be used when in sandbox mode?

I had the same problem with IWD and Paypal. If you are using IWD One Page Checkout, go to
System > Configuration > IWD EXTENSIONS > One Page Checkout > Paypal Express LightBox
and set Enable Paypal Express Lightbox to No. That fixed it for me.

Related

Paypal Standard Payment Option not showing in admin

I want to integrated the paypal standard option to my store, but unfortunately it is not visible on the admin side, Only the Express Checkout is there,
Also checked in the Dropdown of other paypal payment methods but it is empty.
any Idea how to enable it?
Happy to be of any help!
PayPal standard is deprecated a long time ago and it has been removed in all Magento 2.x versions. You can choose the PayPal express checkout option as it is pre-built and easy to configure.
Also, it has got a shortcut button [Cart & Product page] which customers prefer to use.
Thanks.
If you wish to enable PayPal Standard by default on new sites, please add the following code snippet:
add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' );
This is only working on woocommerce in wordpress because Only for new installs with WooCommerce 5.5 and above, PayPal Standard which is included in WooCommerce core will not be loaded by default. Use this in functions.php
For magento read the documentation in magento update by version. Actually for paypal security reasons these changes are applied most of the framworks

In magento 1.9 hosted paypal checkout not seeing cancel url

I set up paypal advanced hosted checkout layout C on magento website. When I customize and test the layout on paypal it shows the whole thing- a box for credit card and a Cancel link right below. But when I get to check out on the website- everything is there but the cancel link is not showing. I added CANCEL_URL before the link on paypal. Not helping. Any idea anyone?

rollback from paypal pro hosted_pro to paypal pro redirect in magento

I have a problem on my magento installation.
An year ago we choosed to use PayPal Pro with iframe in our Magento 1.6.2.
After that we upgraded to Magento 1.7.2
At this moment we are trying to use redirect Paypal Pro solution due the fact that
iframe is not working well on mobiles.
But we are unable to find the setting to choose a "redirect" instead that a "iframe" in Paypal setting.
So when we disabled the old one page checkout cart, where the iframe was loaded, and installed a
brend new one page checkout, we figured out that after clicking on the button "compleate purchase" instead of going to Paypal it goes directly on the Magento "purchase succes" page... and order is crated on Magento as pending payment.
Is there some place a config i must set to indicate to use the redirect method, instead of the iframe?
If not, is there a way to reinstall a fresh PAYPAL payment module ?

magento secure onepage checkout not working?

I am working on magento 1.7 version ultimento theme.
I enabled the secure url through admin panel(settings->configuration->web->secure-url)
now checkout page is secure but it not working fine.
after filled billing information press continue then shipping methoda showing after select any shipping method I pressed continue but only a loading image shows and nothing happened.
Please help me out to resolve this issue.
Did you look what's happening on the page with browser developers tools (console tab) the when you hit the button?

Magento - Paypal Express 404 Error

I have added paypal pro (uk) express to my Magento shopping cart. The paypal button now appears below the checkout button in the shopping cart.
The problem is when I click the paypal button I get a 404 error.
Any ideas?
I reckon you added a payment method for the checkout process or a custom paypal checkout.
Activate the debug mode and the error logging in system->configuration->developer. Having a more verbose error message will point you to a more clear error.
404 is page not found error, so wherever the paypal module is pointing the page is missiong. This could happen as a result of malconfiguration or API change or other issues.
Fixed it by following post 5 here:
http://www.magentocommerce.com/bug-tracking/issue?issue=8528
I needed to delete the paypal files in the default folder.

Resources