Hi,
I´m in sandbox testing mode with the paypal module. All went well with testing the WPS payment method. I then created another test account inside of my SandBox (PayPal is truly horrible!) to handle the WPP payment. I copied and pasted the API information from that WPP business test account into the WPP payment method in our site.
I rechecked if curl was installed on the server - it is
sudo apt-get install php5-curl
And also ran the
service php5-fpm restart
This resulted in an error being returned - -bash: service: command not found. I went a long way into installing nginx with the above php5-fpm (not a programmer or a webmaster so I´m a bit lost on that - seems to have a load of unmet dependencies though).
The payment method appears at the end of the checkout process. I entered the visa card info from the above WPP test account in my sandbox. I emptied the cache a couple times from the /performance page. I ran cron. But every time I try to process the test payment I receive the following error:
We encountered an error processing your payment. Please verify your credit card details or try a different card.
Its super vague. I saw the same error in a Ubercart / PayPal queue previously and the same was said there. It aint so helpful but can anyone point me in a direction with this? Client wants the WPP option as well as the WPS option.
Mucho thanks!
(also, how can I test if the php5-fpm is installed and running? Nothing appears on my phpinfo.php file about the php5-fpm service.)
Comments
Comment #1
lionsharz commentedBump -anyone? :( little help on this error?
Comment #2
lionsharz commentedHi,
note also that when I change card to an incorrect credit card type the error changes and tells me
You have entered a credit card number that does not match the type selected.
Does this mean that the API is connecting to PayPal? Where do these errors come from - the module or through the API?
NOTE: I have also tried with and without the three digit security number.
NOTE 2: I have tried to use WPP both with and without the WPS module enabled.
NOTE 3: I have also created a new WPP test account within my sandbox in case there was something wrong there. I made a new one with mastercard card type to test that. No luck tho.
Can`t really think of anything else to change here.
Thanks for any help you can give.
Comment #3
lionsharz commentedHi again,
I have risked doing this outside the sandbox system just to be sure that it wasn't down to the testing environment of PayPal. It wasn't. I have entered my real PayPal account API details into the configuration rule for WPP and the very same error is the result, having tested a series of different credit cards.
I hope its not presumptuous to re-categorize this as a bug.
EDIT
1) The WPP may only be available within the US, UK and Canada. This could be a reason for the test failing. Not sure how PayPal checks for that but possibly it is with my ip address which is currently in Spain as thats where I am carrying out this work.
2) It should be noted also that WPP requires a full credit application with PayPal and will not simply work by entering in the API details from your business account.
Hope the experience above helps someone.
To my mind I still don't understand fully why the test WPP account didn't work though.
Comment #4
spineless commentedI am having a similar issue with the WPP module.
http://drupal.org/node/1500182
Your issue sounds very similar to mine. Did you end up getting it to work once you applied for the live account?
Comment #5
lionsharz commentedHey,
No it never worked for me - not in testing or in the live one. In my case I don't have a live WPP account (all I have is the API info) but as far as I figured out you need to apply for a PayPal PRO account with relevant credit information about your self / company.
Why it doesn't work in testing though is beyond me. I still see this as a bug in the WPP part of the PayPal module.
Maybe someone else out there has gotten in to work? Anyone?
Comment #6
jkopel commentedI just got WPP to work in the sandbox, but it required the patch in http://drupal.org/node/1296422#comment-5529052
Also, if you want more specific information about errors then make sure you have turned on the log settings in the WPP payment rule.
You will find them in admin/commerce/config/payment-methods/manage/commerce_payment_paypal_wpp/edit
Log the following messages for debugging
API request messages
API response messages
Then you should see entries in your logs for what is transmitted to and from the WPP API.
Comment #7
jurerickporras commentedany update for this? i got the same problem with Lionsharz
Comment #8
jurerickporras commentedits still in dev version. switching to magento is a nice decision
Comment #9
andyg5000If you're still having this problem, can you enable logging in the module settings and post your watchdog entries for request and response?
Comment #10
andyg5000Comment #11
rszrama commentedLooks like this was a combination of bugs that have been fixed and sandbox accounts that didn't have WPP enabled. I'm pretty sure this is all cleared up now; hope Lionsharz got his site working.
Comment #12
cheria commentedIt's been 3 years.... but just in case anyone encounters this error. It's not actually a bug, it's just the smart way how the commerce_paypal module responds when there's no ssl certifcate available.
If you check admin menu >> reports>> recent log messages, you will see this message:
cURL error: SSL certificate problem: unable to get local issuer certificate
Comment #13
gaurav.pahuja commentedI am trying to use Paypal WPP on a locally installed Drupal Commerce setup.
Its a windows box and I am using XAMPP.
Getting following error though I am using self signed certificate.
cURL error: SSL certificate problem: unable to get local issuer certificate
I am not sure why functionality is failing with self signed certificate. Is there any way to skip this check on local environment with sandbox setup.