Forums / Addon Payment Modules / Payflow pro Module- Uk Debit Card issue with issue dates

Payflow pro Module- Uk Debit Card issue with issue dates

Locked

Started by calljj on 28 Mar 2007, 2:58 PM · Views: 11,867

Results 21 to 28 of 28
This thread is locked. New replies are disabled.
20 May 2007, 11:03 PM
#21
bmuis avatar

bmuis

New Zenner

Join Date:
Jan 2006
Location:
London, UK
Posts:
2
Plugin Contributions:
0

Payflow pro Module- Uk Debit Card issue with issue dates

Hello DrByte,

This module is desparately needed by so many of us now. Noticed the last post was almost 2 months old, any chance of letting us know a bit more?

I am sitting here with a pile of paper from a merchant company to fill in because it is one of the few that appears half affordable and can integrate.

I sooooooo want to put that pile aside and just go with my already booked Paypal Pro UK account.

I'd be more than willing to contribute to the good cause if that could help in any way.

Please reveal..... please?

Thanks, Ben

21 May 2007, 7:28 AM
#22
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Payflow pro Module- Uk Debit Card issue with issue dates

Hi, Just use the existing payflow module, and if UK based make the changes to the code detailed further back to allow UK switch/debit card usage. It works really well and I have been using since this thread without any issues (well a couple of issues that were Paypals problem, but nothing on this module) it works really well.

James

4 Jun 2007, 9:44 PM
#23
waddtown avatar

waddtown

New Zenner

Join Date:
Feb 2005
Location:
UK
Posts:
77
Plugin Contributions:
0

Re: Payflow pro Module- Uk Debit Card issue with issue dates

Calljj:

Hi, Just use the existing payflow module, and if UK based make the changes to the code detailed further back to allow UK switch/debit card usage. It works really well and I have been using since this thread without any issues (well a couple of issues that were Paypals problem, but nothing on this module) it works really well.

James

Hi there
do you have a complete copy of the code changes you have made I have been playing around with this for ages but still get the following error
Result code: 7: Field format error: CARDSTART must be 4 characters
It driving me absolutely crazy any help much appreciated

Rachel

2 Jul 2007, 7:19 PM
#24
heathenmagic avatar

heathenmagic

Totally Zenned

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

Re: Payflow pro Module- Uk Debit Card issue with issue dates

Hello there,

I have followed the code changes, and am getting the same as Rachel

Result code: 7: Field format error: CARDSTART must be 4 characters long
There has been an error processing your credit card, please try again.

On the step 3 of checkout, the issue date and start date is not showing, which i gues may be a sign of the problem.

Best regards,

Russ

3 Jul 2007, 7:38 AM
#25
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Payflow pro Module- Uk Debit Card issue with issue dates

if you've made the changes in post 13 and 14 then yu should at least see the fields appear in the checkout process. if you can't see the fields then you will get the error as above as its not sending the deatils to paypal.

Check your coding again, and that you are making the changes to the correct files...there are a number of files with the same name but in different folders.

It does work and continues to, really well. would be nice to have those extra fields to show/hide depending on card type though!

1 Oct 2007, 3:00 PM
#26
leighbee avatar

leighbee

New Zenner

Join Date:
Jan 2007
Posts:
41
Plugin Contributions:
0

Re: Payflow pro Module- Uk Debit Card issue with issue dates

Calljj:

Just modified the Payflow Pro module with some addiditons. this is the part for sending to paypal:

// ORDER INFO
'ACCT' => $order->info['cc_number'],
'CARDSTART' => $order->info['cc_starts'],
'CARDISSUE' => $order->info['cc_issue'],
'EXPDATE' => $order->info['cc_expires'],
'CVV2' => $order->info['cc_cvv'],
'AMT' => number_format($order->info['total'], 2,'.',''),
'CURRENCY'=> $my_currency,
'COMMENT1'=> "( ".$_SESSION['cart']->count_contents(). " ) ". str_replace('&','',$order->info['comments']) ,
'COMMENT2'=> $order->info['shipping_method']. $order->info['shipping_cost']. ' ZenSessName:' . zen_session_name(). ' ZenSessID:' . zen_session_id(),
'INVNUM' => 'Cust:' . $_SESSION['customer_id'] . ' Order:' . $new_order_id ,
'CUSTREF' => 'Order:' . $new_order_id .'_Cust:' . $_SESSION['customer_id'] . '_Time:' . microtime(),


I think your missing a critical part of the code here - The process_button code creates the hidden fields, is there a chance you can post those changes up - I want to make sure they make sense with my coding!
1 Oct 2007, 4:55 PM
#27
leighbee avatar

leighbee

New Zenner

Join Date:
Jan 2007
Posts:
41
Plugin Contributions:
0

Re: Payflow pro Module- Uk Debit Card issue with issue dates

Just in case nobody else able to get this working - as said earlier make the changes noted in page 2. Then make the following additional change to the "Process_button" function:

    ////////////////////////////////////////////////////
    // Functions to execute before finishing the form
    // Examples: add extra hidden fields to the form
    ////////////////////////////////////////////////////

    function process_button() {
      // These are hidden fields on the checkout confirmation page
      $process_button_string =  zen_draw_hidden_field('cc_owner', $_POST['payflowpro_cc_owner']) .
                                zen_draw_hidden_field('cc_expires', $this->cc_expiry_month . substr($this->cc_expiry_year, -2)) .
                                zen_draw_hidden_field('cc_type', $this->cc_card_type) .
                                zen_draw_hidden_field('cc_number', $this->cc_card_number) .
/*Start Debit Card Addon*/                   
        zen_draw_hidden_field('cc_issue', $_POST['payflowpro_cc_issue']) .
                    zen_draw_hidden_field('cc_starts', $_POST['payflowpro_cc_starts_month'] . substr($_POST['payflowpro_cc_starts_year'], -2)) .
/*End Debit Card Addon*/
                                zen_draw_hidden_field('cc_cvv', $_POST['payflowpro_cc_csc']);
      $process_button_string .= zen_draw_hidden_field(zen_session_name(), zen_session_id());

      return $process_button_string;
    }
1 Oct 2007, 7:59 PM
#28
leighbee avatar

leighbee

New Zenner

Join Date:
Jan 2007
Posts:
41
Plugin Contributions:
0

Re: Payflow pro Module- Uk Debit Card issue with issue dates

I also suggest adding a disable of autocomplete for the card number to stop IE/FF storing the card number heres the change:
Look for:

'field' =>zen_draw_input_field('payflowpro_cc_number')),
```And change to: 

'field' =>zen_draw_input_field('payflowpro_cc_number','','AUTOCOMPLETE="NO"')),