PayPal Pro. Card expiration date is invalid
-
Hi!
I Have a some problem with payment by credit card.
When I trying pay my order with credit card and filed fields with sandbox data, I always seen error “Card expiration date is invalid”. “Force secure checkout” is checked in dashboard. Can You help Me? Thanks a lot!
-
That error is pretty straightforward. Are you sure you are entering a valid expiration date? If so and you are still getting this error I would need to see the logs that gets saved by the plugin assuming you have logging enabled in the settings.
Hello,
No logs are saving for PayPal pro in logs folder. I’m entering the test data (sandbox mode), and choosing this expiration date 01/2020 but they are not working. I can give you link for the checkout page as you need.
https://jessica-theme-products.77dev.netSo you have logging enabled in the plugin settings, but nothing is getting saved? Can you double check that setting to make sure logging is enabled?
I can attach screenshots.
https://postimg.org/image/u09rzm4gx/
https://postimg.org/image/esgx6ip1p/
Thank You!Sorry, I have set up the theme locally and log file appeared.
03-23-2016 @ 14:59:35 - Processing order #7145 03-23-2016 @ 14:59:35 - Do payment request Array ( [DPFields] => Array ( [paymentaction] => Sale [ipaddress] => 127.0.0.1 [returnfmfdetails] => ) [CCDetails] => Array ( [creditcardtype] => [acct] => **** [expdate] => 42021 [cvv2] => **** [startdate] => [issuenumber] => ) [PayerInfo] => Array ( [email] => [email protected] [firstname] => Oleg [lastname] => Oleg ) [BillingAddress] => Array ( [street] => biy [street2] => 190,8 [city] => Tashkent [state] => Uzbekistan [countrycode] => UZ [zip] => 123123123 [phonenum] => 123123123123 ) [ShippingAddress] => Array ( [shiptoname] => Oleg Oleg [shiptostreet] => biy [shiptostreet2] => 190,8 [shiptocity] => Tashkent [shiptostate] => Uzbekistan [shiptozip] => 123123123 [shiptocountry] => UZ [shiptophonenum] => ) [PaymentDetails] => Array ( [amt] => 24.20 [currencycode] => USD [insuranceamt] => [shipdiscamt] => 0.00 [handlingamt] => 0.00 [desc] => [custom] => [invnum] => 7145 [notifyurl] => [recurring] => [taxamt] => 0 [shippingamt] => 2.00 [itemamt] => 22.20 ) [OrderItems] => Array ( [0] => Array ( [l_name] => EC-3 Handheld Conductivity Tester with Case [l_desc] => [l_amt] => 22.2 [l_number] => EC-3 [l_qty] => 1 [l_taxamt] => [l_ebayitemnumber] => [l_ebayitemauctiontxnid] => [l_ebayitemorderid] => ) ) [Secure3D] => Array ( ) ) 03-23-2016 @ 15:03:52 - Processing order #7145 03-23-2016 @ 15:03:52 - Do payment request Array ( [DPFields] => Array ( [paymentaction] => Sale [ipaddress] => 127.0.0.1 [returnfmfdetails] => ) [CCDetails] => Array ( [creditcardtype] => [acct] => **** [expdate] => 42021 [cvv2] => **** [startdate] => [issuenumber] => ) [PayerInfo] => Array ( [email] => [email protected] [firstname] => Oleg [lastname] => Oleg ) [BillingAddress] => Array ( [street] => biy [street2] => 190,8 [city] => Tashkent [state] => Uzbekistan [countrycode] => UZ [zip] => 123123123 [phonenum] => 123123123123 ) [ShippingAddress] => Array ( [shiptoname] => Oleg Oleg [shiptostreet] => biy [shiptostreet2] => 190,8 [shiptocity] => Tashkent [shiptostate] => Uzbekistan [shiptozip] => 123123123 [shiptocountry] => UZ [shiptophonenum] => ) [PaymentDetails] => Array ( [amt] => 24.20 [currencycode] => USD [insuranceamt] => [shipdiscamt] => 0.00 [handlingamt] => 0.00 [desc] => [custom] => [invnum] => 7145 [notifyurl] => [recurring] => [taxamt] => 0 [shippingamt] => 2.00 [itemamt] => 22.20 ) [OrderItems] => Array ( [0] => Array ( [l_name] => EC-3 Handheld Conductivity Tester with Case [l_desc] => [l_amt] => 22.2 [l_number] => EC-3 [l_qty] => 1 [l_taxamt] => [l_ebayitemnumber] => [l_ebayitemauctiontxnid] => [l_ebayitemorderid] => ) ) [Secure3D] => Array ( ) ) 03-23-2016 @ 15:07:56 - Processing order #7145 03-23-2016 @ 15:07:56 - Do payment request Array ( [DPFields] => Array ( [paymentaction] => Sale [ipaddress] => 127.0.0.1 [returnfmfdetails] => ) [CCDetails] => Array ( [creditcardtype] => [acct] => **** [expdate] => 42021 [cvv2] => **** [startdate] => [issuenumber] => ) [PayerInfo] => Array ( [email] => [email protected] [firstname] => Oleg [lastname] => Oleg ) [BillingAddress] => Array ( [street] => biy [street2] => 190,8 [city] => Tashkent [state] => Uzbekistan [countrycode] => UZ [zip] => 123123123 [phonenum] => 123123123123 ) [ShippingAddress] => Array ( [shiptoname] => Oleg Oleg [shiptostreet] => biy [shiptostreet2] => 190,8 [shiptocity] => Tashkent [shiptostate] => Uzbekistan [shiptozip] => 123123123 [shiptocountry] => UZ [shiptophonenum] => ) [PaymentDetails] => Array ( [amt] => 24.20 [currencycode] => USD [insuranceamt] => [shipdiscamt] => 0.00 [handlingamt] => 0.00 [desc] => [custom] => [invnum] => 7145 [notifyurl] => [recurring] => [taxamt] => 0 [shippingamt] => 2.00 [itemamt] => 22.20 ) [OrderItems] => Array ( [0] => Array ( [l_name] => EC-3 Handheld Conductivity Tester with Case [l_desc] => [l_amt] => 22.2 [l_number] => EC-3 [l_qty] => 1 [l_taxamt] => [l_ebayitemnumber] => [l_ebayitemauctiontxnid] => [l_ebayitemorderid] => ) ) [Secure3D] => Array ( ) ) 03-23-2016 @ 15:11:02 - Processing order #7145 03-23-2016 @ 15:11:02 - Do payment request Array ( [DPFields] => Array ( [paymentaction] => Sale [ipaddress] => 127.0.0.1 [returnfmfdetails] => ) [CCDetails] => Array ( [creditcardtype] => [acct] => **** [expdate] => 42021 [cvv2] => **** [startdate] => [issuenumber] => ) [PayerInfo] => Array ( [email] => [email protected] [firstname] => Oleg [lastname] => Oleg ) [BillingAddress] => Array ( [street] => biy [street2] => 190,8 [city] => Tashkent [state] => Uzbekistan [countrycode] => UZ [zip] => 123123123 [phonenum] => 123123123123 ) [ShippingAddress] => Array ( [shiptoname] => Oleg Oleg [shiptostreet] => biy [shiptostreet2] => 190,8 [shiptocity] => Tashkent [shiptostate] => Uzbekistan [shiptozip] => 123123123 [shiptocountry] => UZ [shiptophonenum] => ) [PaymentDetails] => Array ( [amt] => 24.20 [currencycode] => USD [insuranceamt] => [shipdiscamt] => 0.00 [handlingamt] => 0.00 [desc] => [custom] => [invnum] => 7145 [notifyurl] => [recurring] => [taxamt] => 0 [shippingamt] => 2.00 [itemamt] => 22.20 ) [OrderItems] => Array ( [0] => Array ( [l_name] => EC-3 Handheld Conductivity Tester with Case [l_desc] => [l_amt] => 22.2 [l_number] => EC-3 [l_qty] => 1 [l_taxamt] => [l_ebayitemnumber] => [l_ebayitemauctiontxnid] => [l_ebayitemorderid] => ) ) [Secure3D] => Array ( ) )
The error mentions that the expiration date is invalid, and from the request log I can see that does seem to be the case. For example, the value: 42021
I am assuming that is for April, 2021. The format for that is wrong for the PayPal API, though. PayPal’s API expects it to be MMYYYY, so in this case it would need to be 042021.
The MMYYYY format is followed by default, and we have not had any other reports of this problem, so there must be something about your theme or maybe another plugin that is formatting that expiration date value..??
I apologize for my intrusiveness, but I have the same error even after I’m turning on the DEFAULT theme and turning off all plugins except woocommerce.
The error: “SyntaxError: Unexpected token <“.
I selected November in Month and now expiration date is 112021.The screenshot is attached.
https://postimg.org/image/qover79wl/
https://postimg.org/image/8ab8icgif/Thank You!
And one more thing. On my mail come such messages:
DoDirectPayment call failed.Error Code: 0
Detailed Error Message: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failureOk, well that’s a different error. That seems to be something happening with jQuery, or maybe a PHP notice included in the response, so you’re not getting a valid response back.
In that case we’d need to troubleshoot with Firebug to see what’s in the jQuery response. I tried that, but I can’t seem to get passed the invalid expiration date no matter what date I select on your site.
Again, though, that is not something that is being reported by anything else, so there must be something unique going on here that is causing that.
Ok, well that means your server is not configured to properly use the TLS 1.2 protocol. See this post about POODLE for more details: https://www.angelleye.com/paypal-ssl-error-poodle-vulnerability/
Thank you very much! Excellent support!
- The topic ‘PayPal Pro. Card expiration date is invalid’ is closed to new replies.