[CONTRIBUTION] Nochex APC Payment Module
#301
Posted 28 June 2007, 21:55
Kind like shipping modules.
IE
If a total value os £100 or less the Nochex is avilable as a payment option.
If total value is £100.01 or more then Nochex is removed as a payment option.
Reason I ask this is that a the moment I only have a seller account which limits none Nochex customers to sendint me £100 and Nochex customers are limited to £300.
At the moment I dont have the correct criteria to upgrade to a merchant account.
Regards
Discount Coupon Codes Ultimate SEO Urls Star Product Product Description Header template Modern design Search box Add to favorites Discount Plus All Manufacturers
Loginbox Best Lightbox V2 Optional Related Products
Plus Many more
#302
Posted 09 August 2007, 18:39
#303
Posted 06 October 2007, 11:42
I have Nochex APC payment Module up and running after a few problems.
The Only problem I have is the "Update Stock before Payment" option.
Set to TURE every thing works, but turned to false transactions are process but stock levels are not updated.
Is there a way to get the stock to be updated after payment?
Updating stock before payment to me is a bit on the stupid side.
Has any one got round this?
Thanks
Rob
#304
Posted 06 October 2007, 12:23
ogg2k, on Oct 6 2007, 11:42 AM, said:
I have Nochex APC payment Module up and running after a few problems.
The Only problem I have is the "Update Stock before Payment" option.
Set to TURE every thing works, but turned to false transactions are process but stock levels are not updated.
Is there a way to get the stock to be updated after payment?
Updating stock before payment to me is a bit on the stupid side.
Has any one got round this?
Thanks
Rob
I have the same problem with it sending out order confirmation emails before the payment is collected - also seems stupid as there are a number of abandonments at this point (am seriously thinking of switching to Google Checkout)
Does this not happen for you, maybe it is a quirk in my setup
Maybe we can work together...
Do you have skype or IM.
#305
Posted 06 October 2007, 16:49
Update Stock before Payment = True looks to complete the checkout process then asks for payment. I think this is why email goes out before payment.
I think there might be a problem with the callback from Nochex and nochex_apc_handler.php
AUTHORISED and DECLINED response might not be received or read by nochex_apc_handler.php when the Nochex callback comes. As it need the receive a AUTHORISED response to set the order status to Nochex Authorised
Plus I’m not getting anything in the Nochex APC – Transactions in admin
And has any one got this to work right.!!!!
Edited by ogg2k, 06 October 2007, 16:59.
#306
Posted 08 October 2007, 06:05
if ($nochex_apc['nochex_reponse']=='AUTHORISED') {
$NAVBAR_TITLE_2 = NOCHEX_NAVBAR_TITLE_2_OK;
$HEADING_TITLE = NOCHEX_HEADING_TITLE_OK;
$TEXT_SUCCESS = NOCHEX_TEXT_SUCCESS_OK;
$cart->reset(TRUE);
} else if ($nochex_apc['nochex_response']=='DECLINED') {
$NAVBAR_TITLE_2 = NOCHEX_NAVBAR_TITLE_2_FAILED;
$HEADING_TITLE = NOCHEX_HEADING_TITLE_FAILED;
$TEXT_SUCCESS = NOCHEX_TEXT_SUCCESS_FAILED;
} else if ($nochex_apc['orders_status']==50000) {
$NAVBAR_TITLE_2 = NOCHEX_NAVBAR_TITLE_2_PENDING;
$HEADING_TITLE = NOCHEX_HEADING_TITLE_PENDING;
$TEXT_SUCCESS = NOCHEX_TEXT_SUCCESS_PENDING;
} else {
$NAVBAR_TITLE_2 = NAVBAR_TITLE_2;
$HEADING_TITLE = HEADING_TITLE;
$TEXT_SUCCESS = TEXT_SUCCESS;
};
#307
Posted 13 October 2007, 08:50
Get-Wireless 2, on Jan 12 2007, 03:34 PM, said:
Problem I get now when I click on the Nochex APC in my admin section then click transactions I get the following errors
Warning: session_start() [function.session-start]: The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /home/getwi/public_html/dev/admin/includes/functions/sessions.php on line 67
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/getwi/public_html/dev/admin/includes/functions/sessions.php:67) in /home/getwi/public_html/dev/admin/includes/functions/sessions.php on line 67
Does anybody have a clue as to were I should be looking to fix this ?
i am having this same exact problem. it comes up when i click transactions in admin. and then it wont go away. does anyone know whats causing it?
#308
Posted 13 February 2008, 17:27
Get-Wireless 2, on Jun 28 2007, 09:55 PM, said:
Kind like shipping modules.
IE
If a total value os £100 or less the Nochex is avilable as a payment option.
If total value is £100.01 or more then Nochex is removed as a payment option.
Reason I ask this is that a the moment I only have a seller account which limits none Nochex customers to sendint me £100 and Nochex customers are limited to £300.
At the moment I dont have the correct criteria to upgrade to a merchant account.
Regards
I'll have a look at this myself, but if anyone has already got a solution I'd be happy to know.
Thanks,
Allen
#309
Posted 26 May 2008, 21:02
AllenConquest, on Feb 13 2008, 06:27 PM, said:
I'll have a look at this myself, but if anyone has already got a solution I'd be happy to know.
Thanks,
Allen
Hi,
Allen are you able to find any solution to set limit so when order value is more then certain amount, Nochex payment module became disaable as payment option.
Regards
#310
Posted 10 June 2008, 13:13
#311
Posted 17 July 2008, 16:38
Any ideas anybody?
P+
#312
Posted 01 October 2008, 10:10
pould, on Jul 17 2008, 05:38 PM, said:
Any ideas anybody?
P+
I have the exact same problem as this. Also, the right column of the payment modules when in admin is missing.
Anyone shed any light on this?
#313
Posted 09 October 2008, 17:51
Can anyone tell me what we've missed?
Cheers,
Adam
#314
Posted 27 November 2008, 19:49
fissssssi, on Oct 9 2008, 05:51 PM, said:
Can anyone tell me what we've missed?
Cheers,
Adam
I'm pretty sure you need to edit the following file, yourstore/includes/filenames.php
add before the ?>
define('FILENAME_CHECKOUT_NOCHEX_APC, 'nochex_apc');
Edited by alex121, 27 November 2008, 19:56.
#315
Posted 10 March 2009, 08:40
Hi - I thought I would share this. I was having a problem where comments added to the order by the customer were not appearing in the email. It seems that there is a similar problem with the PayPal IPN contribution and I based my solution on this thread http://forums.oscommerce.com/index.php?showtopic=251510 - just had to change a couple of things.... here is my final code...
I hope this helps someone one day...
Rob
In nochex_apc_handler.php
I changed this...
$products_ordered_attributes = '';
}
$email_order = STORE_NAME . "\n" .
EMAIL_SEPARATOR . "\n" .
EMAIL_TEXT_ORDER_NUMBER . ' ' . $unique_order_id . "\n" .
EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $unique_order_id, 'SSL', false) . "\n" .
EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
if($order->info['comments']){
$email_order .= tep_db_output($order->info['comments']) . "\n\n";
}
$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .
To this...
$products_ordered_attributes = '';
}
$comment_query = tep_db_query("select comments from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . $unique_order_id . "'");
$commentfetch = tep_db_fetch_array($comment_query);
$comments = $commentfetch['comments'];
$email_order = STORE_NAME . "\n" .
EMAIL_SEPARATOR . "\n" .
EMAIL_TEXT_ORDER_NUMBER . ' ' . $unique_order_id . "\n" .
EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $unique_order_id, 'SSL', false) . "\n" .
EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
if ($comments) {
$email_order .= $comments . "\n\n";
}
$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .
#316
Posted 12 June 2009, 20:42
I’ve installed this contribution and it seems to work fine, but when I check my Nochex APC orders/transactions nothing shows for the nochex orders?
(I get the nochex email stating the payment has been processed) and the checkout it seems to function correctly.
I have checked the install several times & all seems to be installed correctly
I did have a problem installing the MySQL file in the database, do I need to alter any setting here?
The file has installed to the database, but do I need to alter any setting here?
Many thanks for your help
#317
Posted 13 June 2009, 13:04
I tried importing the .sql file through phpmyadmin and got the following error;
SQL query: # Nochex APC v0.5 # Copyright (c) 2004 Leigh Davies # http://www.osmosisdc.com INSERT INTO `orders_status` VALUES ( 50000, 1, 'Nochex Processing' ) MySQL said: Documentation #1136 - Column count doesn't match value count at row 1
So tried just copying / pasting the contents of the .sql file into the query box, hit enter and got the same error
Is there something I'm missing here?
#318
Posted 29 March 2010, 12:10
#320
Posted 30 September 2010, 14:23
keithhall, on 02 September 2010, 12:00, said:
The solution to my problems appeared to be the need to remove some extra lines (white space) at the end of a file, after the ?php> closing tags. Check if any of the nochex files have unnecessary lines at the end of the file - after the php closing tag.
My source of the info: http://www.geeklog.net/faqman/index.php?op=view&t=38
Also, I had me server guys set the server to display php errors as suggested by this guy in another post of mine: http://forums.oscommerce.com/topic/365067-testing-output/page__pid__1536632__st__0&#entry1536632
I don't know if this is of any use to anyone, as I think my editor may have added the blank space at the end of the file.
I was using contib:
p://www.oscommerce.com/community/contributions,2280
as advised by NOCHEX...
Good luck
Matt
Edited by 000---000, 30 September 2010, 14:24.














