News:

Looking for documentation? Take a look on our wiki

Main Menu

Paypal (new API) is broken/bugged!

Started by HDG, April 15, 2011, 22:03:03 PM

Previous topic - Next topic

HDG

I have only the Paypal (new API) method setup. Not using Website Payments Pro.

It looks like this when checking out: http://i.imgur.com/VLPlL.png

If I select Credit Card and finish the checkout, I end up with these errors:
QuoteInvalid Credit Card Number or Credit Card Verification Code.
Error: Invalid Credit Card Number or Credit Card Verification Code.
Error: Failure in Processing the Payment (ps_paypal_api)
Invalid Credit Card Number or Credit Card Verification Code.
It never gave me the option to enter the credit card.

If I select Paypal and checkout, I end up at Paypal.com with this: http://i.imgur.com/mzdT7.png
As you can clearly see, there is no place to enter your credit card and you are required to login.

I was using 1.1.6 and it didn't even have a Payments page on Checkout, so I upgraded to 1.1.8 and it still doesn't work.

dfennelly

Hi HDG

did you get this problem sorted? Im having the very same issue now.

Rgds

Declan

jnovice1

#2
Regarding paypal login page to show credit card entry form:
QuoteIf I select Paypal and checkout, I end up at Paypal.com with this: http://i.imgur.com/mzdT7.png
As you can clearly see, there is no place to enter your credit card and you are required to login.


Here is a solution you could try:
Modify file \administrator\components\com_virtuemart\classes\payment\ps_paypal_api.php
Find line:
$resArray=hash_call("SetExpressCheckout",$nvpstr);

Right before it, add the following line:
$nvpstr .= "&SOLUTIONTYPE=Sole" . "&LANDINGPAGE=Billing";

This will make paypal page to show credit card entry form.


dfennelly

Thanks for your response jnovice

I used your method but all it did for me was display the click option to display credit card form. When Paypal API was working correctly, it used to display credit card form alongside paypal login so you didnt have to click anything to display it.

I wonder if there is a solution for that?

Declan

Stonedfury

Is there an actual solution to this. I am experiencing some strange issue with this.

turn off the credit card and leave just paypal on and I get no field for the card information not even a selectable payment. It skips right to step 4 of 4 and gives an error that no credit card information was found and shows payment method PayPal (New API)

Turn on credit card along with the New API and I get 3 credit card radio buttons but the top one shows PayPal image. Doh! Driving me nuts.
No such thing as a stupid question, only a stupid answer. I won't ask if I know the answer or found it using the search as you suggested.

Stonedfury

This helped some

http://www.aglobalweb.com/aglobalweb/blog/2-virtuemart/48-virtuemart-paypal-api-bugs-and-solutions.html

However I noticed that the issue is, the paypal api is not loading a form for customers to put in credit information. It is trying to use the "Credit Card" one say like for authorize.net and not its own.
No such thing as a stupid question, only a stupid answer. I won't ask if I know the answer or found it using the search as you suggested.