Re: Re: Upgraded to beta and PayPal Payments Pro does not work
Thanks. Let me know. I set up two side by side environments (alpha8 and beta1) and beta1 fails everytime. Alpha8 works some of the time but i noticed another issue where it appears to fail in the UI giving the user the error message that the payment could not be processed but it actually does go through in the admin system and sends a receipt email. Hopefully this is fixed in the beta1 but I can't tell because it causes users to resubmit the payment and then they get duplicate charges.
Is there some log that lets you see what errors are coming through? I can't figure out how to see it and get the information like you posted above unless an error is actually created.
Just ran some more tests on the Alpha8 version and keep getting a situation that I get the error message: "
We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order."
But I then get the order receipt email and the payment shows completed in the orders section.
I had not had this problem before at all. I wonder if something is wrong with the PayPal sandbox and that is preventing it to work on the Beta1.
Here is the message that i have on the order:
01/11/2008
1:15:27 PM 1 Payment failed.
Error: Internal Service Error
Address: An unknown error occurred.
CVV2: Not checked
01/11/2008
1:16:14 PM - PayPal IPN reported a payment of 153.00 USD.
Same thing happens to me. I really believe it's some sort of deficiency or timeout on the PayPal sandbox site. The thing is slow as molasses, and it wouldn't surprise me if they time out on the response after registering the payment, sending back the internal service error. It's the nature of the beast... I wouldn't sweat it too much. Let me know if it doesn't work in production.
Re: Re: Re: Re: Re: Upgraded to beta and PayPal Payments Pro doe
On Beta1 I am able to create an order manually in the admin system and process the credit card to the PayPal SandBox but I am still not able to go through a normal cart checkout process. Did anything major change in the checkout process that would cause a problem?
Re: Re: Re: Re: Re: Re: Upgraded to beta and PayPal Payments Pro
Like I said, the sandbox has a history of crapping out on direct payment requests, particularly during checkout. That's why I had to stop using that as the default CC gateway on the Livetest.
As to the shipping option, I just assumed if it was blank it would ignore it. Silly of PayPal to say the field itself is invalid and not the contents. I'll update the code when I hit the office on Monday.
OK, i switched over to the live server and I am able to process payments only when there is a shipping address. However none of our products are shippable so I had been hiding the delivery pane. Any suggestions would be appreciated. One post mentioned commenting out the shipping fields in the Paypal module but i thought a I better check before I do that.
In addition, I got the following message when I submitted a payment through the admin system.
* warning: Invalid argument supplied for foreach() in /mnt/gs01/herd03/33619/domains/[url replaced]/html/sites/all/modules/ubercart/payment/uc_paypal/uc_paypal.module on line 1321.
Credit Card Processing only works for me with shippable products (PayPal Web Payments Pro). When there is no Delivery Address, it is not processed. Using Beta 3. This is all in "live" mode, no sandbox account.
Changing life as we know it, through the love, loyalty, and friendship of Jesus Christ.
The temporary solution I offer about 4 posts up still works if you have no shippable products in your store.
There basically just needs to be a check if the order is shippable or not, and not set those fields if it is not shippable. PayPal not happy with NULL values in those fields.
Re: Re: Re: Re: Payments Failing without shipping address
I just tried your code and it did not work for me. I appreciate the work and will continue testing any ideas. I am using the paypal website payments pro gateway.
I tried commenting out the shipto lines in the paypal.module but I am still unable to put an order through with out shipping info. Any additional thoughts or tips would be appreciated.
Check your products... if there are shippable products on the order and you don't supply a shipping address, you're going to have that problem. I suppose the code may be modifiable to check the actual shipping address values, too, if the problem is that you're creating these orders manually and your payments are failing.
I am not a very good programmer but I would like to tweak the code so that it will permanently make the ship address the billing address. As far as I can see this is all that I need to change but it still didnt work for me. If this is not what I should change or if I should do it a different way I would appreciate some pointers.
If you are using paypal, and the payment goes through paypal express or std then the billing address comes from paypal. Along with an optional shipping address.
In other words, PayPal asks the customer what the billing address is, and then sends it to your store. You can't just delete it or overwrite it.
I think that means your api username, password, or certifcate are not entered correctly.
Did you confirm that you set the option for live/sandbox to the relevant setting?
I think that means your api username, password, or certifcate are not entered correctly.
Did you confirm that you set the option for live/sandbox to the relevant setting?
Just out of curiosity do you need to have the API Username, Password, and Signature in the paypal setup if you are running Live or just for Sandbox?
Hi,
I have the exact problem in that I have the proper Paypal info specified and downloadable products only. (I am currently successfully using the paypal setup for another site using Zen-cart - so I know that is working).
I get an "Internet Explorer cannot display the webpage" error when I press the submit payment button. (I don't know how to tell what the error is in more detail (I have Show Friendly error messages turned off.)
I can't seem to get to Bazaar - also get the "Can't find page error". Can you please post the fix here or email it to me? I'd like to give it a whirl. Otherwise, I am at my wit's end.