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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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? |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| 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']
);
BOO! changed to ExpirationYear => $_POST['efsnet_cc_expires_year'], and all is well. |
|
#3
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |