osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

ESFNET module broken... why!?

This is a discussion on ESFNET module broken... why!? within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; It does a print_r in a string assignment with a 2nd argument of true... this is of course wrong and ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-28-2005, 10:46 AM
Lurker
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
carrja99
Default ESFNET module broken... why!?

It does a print_r in a string assignment with a 2nd argument of true... this is of course wrong and causes the script to break... why? I enabled output buffering for it, and it displays the order information... why would this module be included if it doesn't even work?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-28-2005, 11:04 AM
Lurker
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
carrja99
Default

I did like I said and assigned the output of print_r to a var, but this was debugging info and not needed, so I removed. Still wasn't working. I decided to echo the response and it was telling me my card was expired... eh? 03/2007 certainly isn't an expiired card. Then I looked at what was being sent:

Code:
$form_data = array(
        Method => MODULE_PAYMENT_EFSNET_METHOD,
        StoreID => MODULE_PAYMENT_EFSNET_STOREID,
        StoreKey   => MODULE_PAYMENT_EFSNET_STOREKEY,
        ApplicationID => 'EFSNet OSCommerce Method',
        ReferenceNumber => $customer_id,
        TransactionAmount => number_format($order->info['total'], 2),
        SalesTaxAmount => number_format($order->info['tax'], 2),
        AccountNumber => $_POST['efsnet_cc_number'],
        ExpirationMonth => $_POST['efsnet_cc_expires_month'],
        ExpirationYear => $_POST['efsnet_cc_expires_month'],
        BillingName => urlencode($_POST['efsnet_cc_owner']),
        BillingAddress => $order->customer['street_address'],
        BillingCity => $order->customer['city'],
        BillingState => $order->customer['state'],
        BillingPostalCode => $order->customer['postcode'],
        BillingCountry => $order->customer['country']['title'],
        BillingPhone => $order->customer['telephone'],
        BillingEmail => $order->customer['email_address'],
        ShippingName => urlencode($order->delivery['firstname']." ".$order->delivery['lastname']),
        ShippingAddress => $order->delivery['street_address'],
        ShippingCity => $order->delivery['city'],
        ShippingState => $order->delivery['state'],
        ShippingPostalCode => $order->delivery['postcode'],
        ShippingCountry => $order->delivery['country']['title'],
        ClientIPAddress => $_SERVER['REMOTE_ADDR']
        );
ExpirationYear => $_POST['efsnet_cc_expires_month'],

BOO!
changed to
ExpirationYear => $_POST['efsnet_cc_expires_year'],

and all is well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-11-2005, 11:22 AM
Lurker
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wptech
Default

How is it working for you?

I fixed the expiration prob and now things go through to efsnet great but now the big problem is there is a bad declined card response from the module
everytime a card goes through even when it's good and authorizes over at
efsnet. It goes back to the "payment information/fill in card" page after
submission and gives a declined card message in the browser bar.

Is there a way you could help me out with this?

I'm wondering if it has something to do with curl and or post/get methods. I
would really be greatful if you could look at this for me and see if your
clients are running into the same problems.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
All links to images/ are broken Kamenotejin osCMax v2 Installation issues 4 09-16-2005 01:58 PM
Broken Images auntie22 osCMax v2 Installation issues 1 07-24-2005 11:32 AM
SSL is broken midwestwebsites osCMax v1.7 Discussion 26 07-12-2005 04:47 PM
Broken heading h4ppy_girl osCommerce 2.2 Modification Help 1 09-08-2004 09:23 AM
ALL LINKS BROKEN, Please Help! greg_pdq osCMax v1.7 Discussion 2 08-25-2004 01:37 PM


All times are GMT -8. The time now is 04:00 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax