I configurated the whole woocommerce paypal accordingly to https://docs.woocommerce.com/document/paypal-standard/
I also tested the IPN and it seems to be working ( IPN simulator )
I'm working in sandbox mode.
The problem is that even if I set auto return section in paypal profile it does not return automatically after the payment is over.
Any clue?
PS: I noticed that in woocommerce orders are still in waiting for payment status.
Unfortunately, this sort of thing happens quite often with PayPal Standard in WooCommerce. I would recommend switching to the PayPal for WooCommerce plugin and setting up Express Checkout. It works better in general and has lots of features/options that Standard doesn't have.
Related
breaking our heads over how to get autoreturn to work in sandbox.
We have enabled the auto return feature in the sandbox account
associated with the APP we use:
2. We have entered the return URL in developer.paypal.com in the APPs settings:
3. And still. We are not returned back to our URL provided:
note also that we have waited several hours between changing something and testing it as instructed. Any help highly appreciated.
Try turning Payment Data Transfer on in Sandbox account (next section down in Website Payment Preferences).
answer found. according to paypal support auto-return does not work with the paypal invoicing API, which we use, just express checkout etc.
I'm implementing PayPal Express Checkout and I'm having trouble testing out PayPal Credit as the payment method. When I choose it as the method of payment, the response comes back as ERRORCODE0=10486 which means "This transaction couldn't be completed. Please redirect your customer to PayPal." It works fine when using other methods of payment.
Does anyone know if it's possible to make test transactions with PayPal Credit? I haven't been able to find anything in the docs or google about it so hoping someone on here knows!
Thanks!
You have two options for testing.
You can test it with the PayPal Demo site, which not only demos from start to finish paying with PayPal Credit. It also has working sample code available.
I found that you can simulate a PayPal Credit transaction in a sandbox account. I tested it on one of my sandbox accounts. You have to login in to one of your sandbox accounts that is not the merchant account that you are testing. I put in demo info when it asked me to apply for the product. My sandbox account was approved.
So I was able to get it to kind of work (at least in the sandbox). The issue was that it seems like it didn't like me passing in:
"USERSELECTEDFUNDINGSOURCE" => "BML" (old version) or "USERSELECTEDFUNDINGSOURCE" => "Finance" (new version)
When I used this option it sent me to a page that looked like this: http://imgur.com/J1exMJb
Which is what I wanted as we mainly wanted to focus on offering customers PayPal Credit.
When you remove the USERSELECTEDFUNDINGSOURCE option it takes you to a page like this: http://imgur.com/0XOaTOL
If you choose change payment source on this page and choose PayPal Credit, the transaction goes through successfully.
It's not exactly a solution to the problem but hopefully this helps anyone who was also having a similar issue.
Please help..
When i test Paypal Standards in opencart using paypal sandbox everything works well, but when i go live and use live paypal accounts then it starting mess up.. orders are missing.. please help!
It could be any number of things, but the first thing that comes to mind is that maybe OpenCart is using IPN to update orders in the system. If you have IPN enabled on your sandbox account but not on your live account that could cause such a problem. Login to your live PayPal profile and go to Instant Payment Notification Preferences. Make sure it's enabled.
Have you setup instant payment notifications also have you enabled payment data transfer back to your website alot of people forget about this
I'm trying to use paypal ipn on my website. I am using sandbox to debug it...
I noticed sometimes I get values on payment_status like pending ...
My question is, do I get a response again from paypal ipn when this payment becomes complete?
Yes you do. That is the reason why you should implement logic in your code to cope for multiple messages relating to the same transaction.
From paypal site: https://cms.paypal.com/es/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_testing_SBOverview
"The PayPal Sandbox is a self-contained environment within which you can prototype and test PayPal features and APIs. The PayPal Sandbox is an almost identical copy of the live PayPal website"
Comparison table in the link above does mention some scenarios like Fraud detection are not enabled in sandbox.
Other than these, it should be safer to assume that features of live are same in sandbox ( like receiving IPN after status change from pending to complete etc).
MY Paypal IPN code is executed only when payments are made without checking out from the wp e-commerce shopping cart. If payments are made directly through paypal, then my IPN works fine.
However, if payments are made through the wp e-commerce checkouts then my IPN code will not get executed at all.
In my wp setting, I've made sure the followings are done:
my API username, password and signature.
IPN is enabled.
In my paypal account, I've made sure the followings are done:
IPN URL is set and IPN is enabled.
Does anyone have the same problem? I've done a lot of research and I'm still not able to solve this problem. I don't have "Bad Behaviour Plugin" which is suggested by some as the reason to this blocking of execution.
Thank you!!