Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / PayPal Website Payments Pro support / Maestro Cards Not Working Properly

Maestro Cards Not Working Properly

Locked

Started by rubear on 31 May 2008, 11:04 AM · Views: 8,957

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
31 May 2008, 11:04 AM
#1
rubear avatar

rubear

New Zenner

Join Date:
May 2007
Posts:
34
Plugin Contributions:
0

Maestro Cards Not Working Properly

Hello - we have had a number of occassions where customers have tried placing orders with their UK Maestro cards, not all Maestro cards have an issue number and in such cases we need to collect the start date, but the field remains shaded out. We use PayPal WPP and the latest version of Zencart. This is the error we get:-

Transaction Response Details: Array
(
[RESULT] => 7
[PNREF] => EPCP2BC88202
[RESPMSG] => Field format error: CARDSTART or CARDISSUE must be present
[REQUEST_ID] => 1212228636
[CURL_ERRORS] =>

Any suggestions or help greatly appreciated.
Thanks

11 Jun 2008, 4:39 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Maestro Cards Not Working Properly

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Jun 2008, 4:43 PM
#3
rubear avatar

rubear

New Zenner

Join Date:
May 2007
Posts:
34
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Hello :-)

Thank you for your help but we're still experiencing some problems. We use WPP not DP. We found the code in a page with DP and WPP. Basically, SOLO cards now have either an issue number OR a start date. There is a "to do" in message in the coding which says "convert this to handle issue number" on line 367. This, I believe, is our problem but we don't know how to do it solve it. FYI - I have enclosed the most recent transactional error message from a transaction today:-

Zen Cart message: We were not able to process your order. Please select an alternate payment method, or contact the store owner for assistance. (7 ) -

Transaction Response Details: Array
(
[RESULT] => 7
[PNREF] => EQFP2C8515DC
[RESPMSG] => Field format error: CARDSTART or CARDISSUE must be present
[REQUEST_ID] => 1214056865
[CURL_ERRORS] =>
)

Transaction Submission: Array
(
[ACCT] => ************3722
[AMT] => 22.60
[CARDISSUE] =>
[CITY] => Dunstable
[COUNTRY] => GB
[CURRENCY] => GBP
[CVV2] => ***
[EMAIL] => (deleted)
[EXPDATE] => 0611
[IPADDRESS] => 82.5.241.114
[ITEMAMT] => 22.60
[L_AMT0] => 11.30
[L_NAME0] => Advance £10 Tickets for Total Mayhem Presents Fun Factory Saturday 21 June at The Factory, 65 Goding Street, Vauxhall, London,
[L_NUMBER0] =>
[L_QTY0] => 2
[L_TAXAMT0] => 0.00
[NAME] => Luke Muldoon
[PHONENUM] =>
[STATE] =>
[STREET] => (deleted)
[TENDER] => C
[TRXTYPE] => S
[ZIP] => LU5 5PG
[REQUEST_ID] => 1214056865

NB - (deleted is where I have removed the customer details)

Any help very much appreciated!

Thank you.

21 Jun 2008, 7:01 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Maestro Cards Not Working Properly

rubear:

We use WPP not DP.
Careful about confusing the filenames with the service names.
The "paypalwpp.php" filename is actually for express checkout, and "paypaldp.php" is for Website Payments Pro. There are technical reasons for this, and things will probably be changed in a future release.
The paypalwpp.php file in 1.3.x is never used to collect credit card details, despite the fact that some code portions therein may suggest otherwise.
Thus, you should be focusing on the paypaldp.php file ... which is where the suggested changes in the link above would be made.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Jul 2008, 6:12 PM
#5
rubear avatar

rubear

New Zenner

Join Date:
May 2007
Posts:
34
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Hello Sir.

We tried the changes you suggested but are still getting the same problem. In essenace we have to allow the user the option of giving us an ISSUE NUMBER and an ISSUE DATE for Switch/Maestro/Solo cards. Not all the card issuers offer both an issue number and an issue date, so we have to allow the possibility of the user only entering at least one of these two fields. Here is the latest error message:-

ALERT: PayPal Direct Payment Error (7 )
Dear store owner,
An error occurred when attempting to initiate the payment-validation transaction. As a courtesy, only the error "number" was shown to your customer. The details of the error are shown below.

Field format error: CARDSTART or CARDISSUE must be present

Zen Cart message: We were not able to process your order. Please select an alternate payment method, or contact the store owner for assistance. (7 ) -

Transaction Response Details: Array
(
[RESULT] => 7
[PNREF] => ETJP2CBEB0C1
[RESPMSG] => Field format error: CARDSTART or CARDISSUE must be present
[REQUEST_ID] => 1215187527
[CURL_ERRORS] =>
)

Transaction Submission: Array
(
[ACCT] => ************(removed for customer security)
[AMT] => 66.50
[CARDISSUE] =>
[CITY] => London
[COUNTRY] => GB
[CURRENCY] => GBP
[CVV2] => ***
[EMAIL] => (removed for customer security)
[EXPDATE] => 0411
[IPADDRESS] => 80.177.47.37
[ITEMAMT] => 66.50
[L_AMT0] => 13.30
[L_NAME0] => £12 SAVER TICKETS for HOOK'D - Tony De Vit Tribute Party Sunday 27th July at The Arches, 53 Southwark Street, Southwark, London
[L_NUMBER0] =>
[L_QTY0] => 5
[L_TAXAMT0] => 0.00
[NAME] => (removed for customer security)
[PHONENUM] =>
[STATE] =>
[STREET] => (removed for customer security)
[TENDER] => C
[TRXTYPE] => S
[ZIP] => (Removed for customer security)
[REQUEST_ID] => 1215187527

Any suggestions gratefully received.

Thank you!
Ru

20 Jul 2008, 7:13 AM
#6
rubear avatar

rubear

New Zenner

Join Date:
May 2007
Posts:
34
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Hello again

This is becoming a major problem for us.

Is there any way of "unblocking" START DATE on Maestro/Solo cards?

Thanks
Ru

20 Jul 2008, 8:16 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Maestro Cards Not Working Properly

I've seen no documentation which confirms or supports what you're asking for (apart from the fix I posted in the link a few posts back), but I'm sure you have a reason for it.

So, as you wish. The following makes ALL of Maestro, Solo, and Switch cards treated the SAME. **** USE AT OWN RISK **** I've not tested this with any live transactions, so cannot confirm what errors or other problems you'll run into.

And beware that you may have some customers unable to checkout because they're confused about why you're asking for dates/numbers/values that they don't have on their cards.

In /includes/modules/payment/paypaldp.php, change this:```
function selection() {
global $order;
$this->cc_type_check =
'var value = document.checkout_payment.paypalwpp_cc_type.value;' .
'if (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;' .
'} else if (value == "Maestro" || value == "Switch") {' .
' document.checkout_payment.paypalwpp_cc_issuenumber.disabled = false;' .
' if (document.checkout_payment.paypalwpp_cc_issue_month) document.checkout_payment.paypalwpp_cc_issue_month.disabled = true;' .
' if (document.checkout_payment.paypalwpp_cc_issue_year) document.checkout_payment.paypalwpp_cc_issue_year.disabled = true;' .
' document.checkout_payment.paypalwpp_cc_checkcode.disabled = false;' .
'} else {' .
' if (document.checkout_payment.paypalwpp_cc_issuenumber) document.checkout_payment.paypalwpp_cc_issuenumber.disabled = true;' .
' if (document.checkout_payment.paypalwpp_cc_issue_month) document.checkout_payment.paypalwpp_cc_issue_month.disabled = true;' .
' if (document.checkout_payment.paypalwpp_cc_issue_year) document.checkout_payment.paypalwpp_cc_issue_year.disabled = true;' .
' document.checkout_payment.paypalwpp_cc_checkcode.disabled = false;' .
'}';
if (sizeof($this->cards) == 0) $this->cc_type_check = '';



to this:```
  function selection() {
    global $order;
    $this->cc_type_check =
            'var value = document.checkout_payment.paypalwpp_cc_type.value;' .
            'if (value == "Solo" || value == "Maestro" || value == "Switch") {' .
            '    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 = false;' .
            '} else {' .
            '    if (document.checkout_payment.paypalwpp_cc_issuenumber) document.checkout_payment.paypalwpp_cc_issuenumber.disabled = true;' .
            '    if (document.checkout_payment.paypalwpp_cc_issue_month) document.checkout_payment.paypalwpp_cc_issue_month.disabled = true;' .
            '    if (document.checkout_payment.paypalwpp_cc_issue_year) document.checkout_payment.paypalwpp_cc_issue_year.disabled = true;' .
            '    document.checkout_payment.paypalwpp_cc_checkcode.disabled = false;' .
            '}';
    if (sizeof($this->cards) == 0) $this->cc_type_check = '';

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Jul 2008, 8:07 PM
#8
bargaindropper avatar

bargaindropper

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
27
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

With the Maestro/Solo/Switch cards,

it is worth having all the following boxes active.

Valid from month & Date

Issue No.

CVV2.

The valid from or issue number is required. It depends on the debit cards issuing bank. The CVV2 is definately required.

https://www.paypal.com/IntegrationCenter/ic_uk-direct-payment.html

I would suggest that putting something like "if not present, leave blank" next to the valid from, and something similar for issue number.

**http://www.bargainz4u.co.uk**

Quality silver jewellery at low prices.

10 Aug 2008, 4:30 PM
#9
rubear avatar

rubear

New Zenner

Join Date:
May 2007
Posts:
34
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Hello again. We've just tried the new code but the "Maestro Issue Number" is blocked out - this needs to be an active field. Can you help? Sorry to be a pain.

11 Aug 2008, 5:56 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Maestro Cards Not Working Properly

rubear:

Hello again. We've just tried the new code but the "Maestro Issue Number" is blocked out - this needs to be an active field. Can you help? Sorry to be a pain.

Try this:```
function selection() {
global $order;
$this->cc_type_check =
'var value = document.checkout_payment.paypalwpp_cc_type.value;' .
'if (value == "Solo" || value == "Maestro" || value == "Switch") {' .
' 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 = false;' .
[B] ' if (document.checkout_payment.paypalwpp_cc_issuenumber) document.checkout_payment.paypalwpp_cc_issuenumber.disabled = false;' .[/B]
'} else {' .
' if (document.checkout_payment.paypalwpp_cc_issuenumber) document.checkout_payment.paypalwpp_cc_issuenumber.disabled = true;' .
' if (document.checkout_payment.paypalwpp_cc_issue_month) document.checkout_payment.paypalwpp_cc_issue_month.disabled = true;' .
' if (document.checkout_payment.paypalwpp_cc_issue_year) document.checkout_payment.paypalwpp_cc_issue_year.disabled = true;' .
' document.checkout_payment.paypalwpp_cc_checkcode.disabled = false;' .
'}';
if (sizeof($this->cards) == 0) $this->cc_type_check = '';

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Aug 2008, 9:04 PM
#11
rubear avatar

rubear

New Zenner

Join Date:
May 2007
Posts:
34
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Fantastic, that's exactly what we need. Many thanks for your help.

16 Dec 2008, 5:50 PM
#12
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Hello there,

I have amended our files as recommended by Dr Byte as we had an issue similar to the starter of this thread.

Just recently, within the last two weeks, we have had a handful of people saying that they can't go through checkout. It loops them back to a blank credit card page. I tried to check out for them, and indeed, it seems to let me fill in the relevant details. But pressing Confirm brings me back to the credit card page / shipping selection of checkout.

We receive no error messages either on the page itself or in an email. It is only with Maestro cards as far as I know. I will post more info during testing if I can see a pattern. But I am not sure. My own card is fine - also a Maestro.

Any help is appreciated.

Regards,

James

17 Dec 2008, 11:10 PM
#13
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Hello,

Having problems with Maestro Cards as well but not linked to Paypal. Could it be that the problem is with Maestro?

Regards

18 Dec 2008, 1:08 AM
#14
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Maestro Cards Not Working Properly

Most Internet Merchant accounts issued by Banks in the UK will only accept UK Maestro Cards and won't accept International Maestro Cards, so for those of you based in the UK make sure that this is not the cause of your problems.

Additionally Maestro Cards can only now be used with 3D Secure enabled, so if you don't have that facility then they won't work.

Some Internet Merchant IDs also don't allow Maestro to be used for recurring transactions e.g. monthly subscriptions - but this depends on the bank issuing the Internet Merchant ID.

Vger