New Zenner
- Join Date:
- Sep 2006
- Posts:
- 76
- Plugin Contributions:
- 1
[Done v1.3.9] Solo cards with Website Payments pro
There is a problem with accepting Solo cards in Paypal website payments pro.
Why i beleive this is a bug:
When you process payments the bank declines SOLO cards because they do not get the correct information to process it correctly
When you have enabled ppwpp and selected SOLO card in configuration > Credit Cards to 1 (and any other cards you require)
When you goto checkout and want to pay via a SOLO card the checkout process will not allow you to enter details which are required to process your payment, it will not allow Issue number or Cvv -
I called the bank and they tell me they received the issue number as 00 - obviously i couldn't enter this so the checkout sent 00 because no entry was made.
The fields which you are allowed to enter are
Card number.
Start Date.
Expiry date.
for the card to be processed correctly the bank needs (the same as a Maestro card really)
Card number
Issue number
Expiry date
Cvv number (on back of card)
they do not need the start date (this is NOT printed on a SOLO card)
--
Ok so how i fixed this:
Opened up paypalwpp.php and paypalsp.php in inclues/modules/payment
'if (value == "Switch" || value == "Solo") {' .
' document.checkout_payment.paypalwpp_cc_issue_month.disabled = false;' .
' document.checkout_payment.paypalwpp_cc_issue_year.disabled = false;' .
' document.checkout_payment.paypalwpp_cc_checkcode.disabled = true;' .
' if (document.checkout_payment.paypalwpp_cc_issuenumber) document.checkout_payment.paypalwpp_cc_issuenumber.disabled = true;' .
to
' document.checkout_payment.paypalwpp_cc_issue_month.disabled = true;' .
' document.checkout_payment.paypalwpp_cc_issue_year.disabled = true;' .
' document.checkout_payment.paypalwpp_cc_checkcode.disabled = false;' .
' if (document.checkout_payment.paypalwpp_cc_issuenumber) document.checkout_payment.paypalwpp_cc_issuenumber.disabled = false;' .
This will allow you to enter the card info into the fields which were blocked before the edit.
I also opened paypaldp.php in /includes/languages/english/modules/payment
and changed a couple of lines (not essential but nice to do they were
define('MODULE_PAYMENT_PAYPALDP_TEXT_CREDIT_CARD_MAESTRO_ISSUENUMBER', 'Maestro Issue No.:');
to
define('MODULE_PAYMENT_PAYPALDP_TEXT_CREDIT_CARD_MAESTRO_ISSUENUMBER', 'Issue No:');
This is in reference to the problem i had here
http://www.zen-cart.com/forum/showthread.php?p=520666#post520666
I hope that helps and maybe you can make a change for the next release.
Regards
Rob