Magento 1.9.2.1 Paypal Express Checkout - paypal

I have been working to move my production site to 1.9.2.1, so I upgraded my staging site and everything went seamlessly. Granted I am not a huge fan of the new email template and having to use a cron job to send emails (which was another problem I already solved).
After upgrading staging to 1.9.2.1, I went to System -> Configuration -> SALES -> Payment Methods and immediately a popup window appears (shown below).
After receiving this error, I tried to re-enable my Paypal Payments Pro (Express Checkout) but it was already enabled. So I try to Save Configuration and when the page reloads the popup appears again.
I also tried to re-enter my API Settings with no luck.
Note: Before I went to System -> Configuration -> SALES -> Payment Methods my Paypal Express Checkout button was showing as usual. But now after travelling to Payment Methods, the button is not showing anymore. Unfortunately, I did not have a chance to test to see if it functioned before I went to Payment Methods.
Has anyone else had this issue when upgrading from 1.8.1 (or any version) to 1.9.2.1? If so would you kindly respond with a fix, or point me in the right direction? If you need any more information, I would be happy to assist.

Related

Cannot enable PayPal API in Magento

In Magento 1.9.2.2 I'm trying to enable PayPal payments under System > Config > Payment Methods. I've entered the correct PayPal API credentials and chosen API Signature as the authentication method. We are not using a proxy server. When I save the config the 'Enable this solution' dropdown remains greyed out and the solution cannot be enabled.
Can anyone help?
Have you followed the below? Taken from PayPal site.
OpenStep 1: Complete the Required Settings:
On the Admin menu, select System > Configuration.
In the panel on the left, under Sales, select Payment Methods.
If your Magento installation has multiple websites, stores or views, set Current Configuration Scope in the upper-left corner to the target configuration.
In the Merchant Location section, select the Merchant Country where your business is located.
In the PayPal All-in-One Payments Solutions section, click the Configure button for PayPal Payments Standard.
In the Required PayPal Settings section, do the following:
Enter the Email Address that is associated with your PayPal merchant account.
Set Enable this Solution to “Yes.”
You have now completed the Required PayPal Settings. At this point, you can either continue with the Basic and Advanced Settings, or click the Save Config button. You can always come back later to fine-tune the configuration.
I had this same issue after upgrading a Magento site from 1.7.x to 1.9. I want to emphasize that I'm not 100% sure of the sequence, as I tried a few things before solving it, and didn't document the process. But hopefully the info helps you or someone else in the future.
I found suggestions about running an SQL query to change one or both payment methods to active. I did this first, and wound up setting both as active using a statement like this - make sure to add your table prefix:
update core_config_data
set value = 1
where path IN ('payment/paypal_express/active','payment/paypal_standard/active');
Next, I think, I went to Magento System->Configuration->Payment Methods and edited the values in each - PayPal Payments Standard, and PayPal Express Checkout.
I still couldn't insert the PayPal account details in Express Checkout, but eventually realized it was just missing the UI option to expand the section; see below image, you can click that grey bar to expand it and reveal the account info. It took way too long for me to figure that out.
Again, going from memory, but once I did that and saved it with the credentials, the "enable" option was back to "no" and could not be changed.
I'm not sure if somehow "Standard" was pulling info from Express, or if I had also just missed the collapsed box at the top of the "Standard" section, which expands to reveal the e-mail address & "enable" option. But it wound up getting me sorted out and accepting orders with PayPal.
See if that gets you anywhere. Good luck!

PayPal Adaptive Payments login fails

My website uses the PayPal Adaptive Payments API with the Embedded Payments flow and simple payments. On my checkout page I execute a Pay API call, receive successful response, then call SetPaymentOptions and again get successful response. The customer then reviews the order form and upon confirmation of the order is redirected to https://www.paypal.com/webapps/adaptivepayment/flow/pay in the PPDGFrame iFrame with expType set to "light" and the paykey received from the Pay API call.
I have successfully tested it in a sandbox and rolled it out to production. The application worked great for a day or two and then stopped working, with buyers now receiving a "Please try again later" error when trying to login. I am still getting successful responses on both the Pay and the SetPaymentOptions API calls and the customer is successfully redirected to the PayPal login screen. The customer enters the login credentials, clicks the Login button and a couple seconds later gets the "Please try again later" message.
Now here are some really odd behaviours if I've ever seen odd... This problem first appeared about 4 days ago. Since PayPal advised me that it will take them "several weeks" to get back to me, I have tried the checkout again two days ago and experienced the same problem. I have then tried a guest checkout and it worked! Next I tried a regular user checkout and it was successful as well so I thought to myself that the problem has somehow resolved itself.
Yesterday morning I tried the checkout again, and got the same problem as before. Again I tried to checkout as guest, which again was successful, and then immediately after I have tried regular checkout and again this time I was able to login successfully.
Today the flow is broken again. What gives? Nothing is changing on my site. Why does it sometimes work and sometimes doesn't, and how is it that a guest checkout seems to be able to temporarily resolve the issue?
The problem has been resolved with no action on my part and no change to the website or application code. After a couple weeks of the API simply not working, it started working intermittently with gradually improving success rate while my support ticket with PayPal was sitting in a "Waiting" status. I was told that the "engineering team" is waiting for a server code roll-out. The intermittent nature of the problem and a gradually improving situation suggests that PayPal was rolling out a fix to their servers in a staged approach and outcome of the API operation depended on which server the PayPal load balancer happened to send the request to. After about a week of that, the problem was resolved completely. PayPal of course maintains that they have not made any server changes.

How do I set the IPN URL in the new PayPal website?

It's been 2 days now that I'm working on my PHP application which processes IPN notifications. Now that it's mostly finished I want to test it. So I go to my personal account and create a button. The problem is that I just don't see any field to enter my IPN URL. I've searched the WEB for an answer but most answers refer only to the old website by going to my profile -> my selling tool. I just don't see anything IPN related. Please help this is very frustrating.
Thank you.
From the Profile menu (or Settings) -> Selling preferences -> Instant Payment Notification preferences
But currently PayPal are updating or something and everything is very confusing, slow and frustrating. So there could be some problem with your account or the option is present only on some types of business accounts (for example the one I am looking at the moment is an Express Checkout for Digital goods)
If you can't find the option in the menu - just contact PayPal support here https://www.paypal.com/us/webapps/helpcenter/helphub/home/

Paypal Express Checkout for Digital Goods hangs when login is popup

I have been testing Paypal integration - on Sandbox - for a number of days and have found that, when the Paypal login is presented in a browser, everything is fine; However when the login environment changes to a popup/lightbox, the browser hangs and remains on 'loading' after a successful test payment has gone through.
I used PayPal integration wizard to generate the code and then amended it accordingly. Any advice would be greatly appreciated as it's doing my head in!
I have seen this issue occur several times lately, as well as reported by a few of my customers. While I can't provide a definitive solution, I have had success with one or more of the following:
Clear the browser cacher. Shutdown and restart the browser.
Login to standard PayPal site, logout and restart browser.
Try a different browser to help identify whether there is something going on with that specific browser.
Switch between sandbox, live, and back to sandbox mode. This may require a repeat of step #1.
Contact Paypal customer support.
I typically resolve the problem before getting to #4, hopefully you will as well. Best of luck!

Magento 1.7.0.2 and Paypal Advanced not working

I've been trying to activate Paypal Payments Advanced in Magento 1.7.0.2 but it's simply not working. I believe the whole setup is correct, in the shopping cart and in the Paypal account, I have verified against the Paypal documentation as well as researched on the web.
I can go through the whole checkout and select credit card in the payment options, which displays the message "You will be required to enter your payment details after you place an order.", then when I click the Place Order button, it goes to the Shopping cart page without asking for the payment, and the cart is empty. The order then shows in the admin with the status pending payment.
I noticed on the console that before the redirect to the cart page, there is a 500 error with this url .../checkout/onepage/saveOrder/
I also seem 500 erros when calling other pages related to the Paypal Advanced like: .../index.php/paypal/payflowadvanced/cancelPayment or .../index.php/paypal/payflowadvanced/returnUrl
Any help would be appreciated, I already confirmed Curl is installed and working, SSL certificate is installed and working, the settings in the Paypal account like Enable Secure Token is Yes, all services under Service Summary say Live, so I have a feeling something is broken in Magento.
Have you seem this issue? Or were you able to install Paypal Advanced in any Magento 1.7.0.2?
Did some more searching on this topic and came across: https://stackoverflow.com/questions/12898392/magento-500-error-paypal-payments-advanced
Deleting my paypal.xml file from my custom theme directory solved the problem for me. PayPay is now working correctly!