VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: TheOSGVault on August 10, 2019, 22:50:57 PM

Title: PayPal Pro - Error
Post by: TheOSGVault on August 10, 2019, 22:50:57 PM
Hi -

I've seen this posted a few times in the forum, but I've never found any clear answers how to fix the problem.

I'm running Joomla 3.9.10.

I'm running VirtueMart 3.4.2

Anyhow when I go to my cart after adding an item, I receive this error message

Error
Card Number Invalid
Card CVV Number Invalid or Missing
VMPAYMENT_PAYPAL_CC_CARD_DATE_INVALID

Yes my system settings - Error Messages - None
Title: Re: PayPal Pro - Error
Post by: Jörgen on August 10, 2019, 23:32:42 PM
Is the Payment method active and what are the conditions ? Checkout sais
QuotePlease select a payment method
We are sorry, no payment method matches the characteristics of your order. Please .

Jörgen @ Kreativ Fotografi
Title: Re: PayPal Pro - Error
Post by: TheOSGVault on August 11, 2019, 17:02:39 PM
Is the payment method active, like as in "enabled and published" - yes

Settings Are Listed Below

Basic Parameters

PayPal product - PayPal Payment Pro
Shop Environment - Production
All Api's Are filled out
Authentication - Signature

PayPal Settings

Let buyers override their PayPal addresses? Yes
Prompt buyers for a shipping address - Prompt for an address, and require one
Accepted Credit Cards: Visa | MasterCard | American Express | Discover
CVV required - Yes
Payment action - Direct payment
Detail of all items will be sent to PayPal payment page - Yes

Order Status

Pending transactions - Confirmed by shopper
Successful transactions Confirmed
Cancel transactions - Cancelled
Capture Payment - Completed
Refunded transactions - Refunded
Partial Refunded transactions - Refunded
Denied - Denied

Currencies
Payment Currency - United States dollar $
Email Currency - Vendor currency

Discounts and Fees
Fee per transaction -
Percent of the total amount -
Tax - Illinois Sale Tax
Cost method calculation - Fixed
Title: Re: PayPal Pro - Error
Post by: Jörgen on August 11, 2019, 19:03:13 PM
Is the Plugin published ? Activate PayPal debug log.

Jörgen @ Kreativ Fotografi
Title: Re: PayPal Pro - Error
Post by: GJC Web Design on August 12, 2019, 10:18:07 AM
Do u mean you get the error as soon as u go to the cart before u have attempted to fill any fields?
Title: Re: PayPal Pro - Error
Post by: Jörgen on August 12, 2019, 11:08:18 AM
Yes GJC, the error occurs when you are directed to checkout.
Hum, I checked this out yesterday, but now I do not see the link any more.

Jörgen @ Kreativ Fotografi
Title: Re: PayPal Pro - Error
Post by: GJC Web Design on August 12, 2019, 12:30:45 PM
Quotethe error occurs when you are directed to checkout.

then I guess its a problem with the validation script firing as soon as the page is loaded

the $paypalInterface->validate() is called in 3 different places in the main paypal.php

as a test try setting up also a VM standard payment and don't have paypal auto selected as a preference..

i.e. so the user has to first select Paypal as the method .. does the validation still fire?

(I vaguely remember something like this problem ages ago and i think I solved it by having also a dummy payment method (hidden) )

Title: Re: PayPal Pro - Error
Post by: TheOSGVault on August 12, 2019, 17:54:31 PM
Cool Thanks, I was able to get the error removed.

Set up also a VM standard payment and don't have paypal auto selected as a preference..  This is what Worked,  Thanks