goldberg Posted November 12, 2002 Posted November 12, 2002 Hi, site all set up www.goldberg-mods.co.uk . I accept payments by Paypal and Nochex. Paypal is fine, shows up as an order o/s in the admin section etc... However when customers send via Nochex it does not update on the site nor on the customers account page? I still receive a message from Nochex to confirm money is received but the site just not updating. Any one know a fix? I'm using 2.2 Thanks. M Brown
winxpauctions Posted November 15, 2002 Posted November 15, 2002 if the buyer doesn't click on the Return URL link then OS Commerce doesn't know the person has paid with NOCHEX. I have been asking for ages for a NOCHEX APC script to be written that get's round this little bug? Read up on the NOCHEX APC here: http://www.nochex.com/help/tools/06.html
Guyver Posted November 15, 2002 Posted November 15, 2002 Well with the new checkout code/CVS that isnt a problem at the moment, as you do not even get that far, it just bombs with msg below: Syntax error (invalid amount): 23, use the format: - xx.xx (eg 10.99) John
Guyver Posted November 15, 2002 Posted November 15, 2002 WOOOOOOHOOOOO, I was trauling through the code in frustation, and thought it must be to do with decimal places as thats whats is complaining about, so having looked at the line in /catalog/includes/modules/payment/nochex.php : tep_draw_hidden_field('amount', number_format($order->info['total'] * $currencies->currencies['GBP']['value'] , $currencies->currencies['GBP']['decimal_points'])) . I backed tracked 'decimal_points' and could find didly sqaut, but what I did find in the currency.php was 'decimal_places' ... Couldnt be that easy I thought, so I changed the line in nochex.php to: tep_draw_hidden_field('amount', number_format($order->info['total'] * $currencies->currencies['GBP']['value'] , $currencies->currencies['GBP']['decimal_places'])) . And waddaya know, it worked :)... I'm not sure how we report this ? As a bug!? But anyone having problems, heres your fix :P John
Mark Evans Posted November 15, 2002 Posted November 15, 2002 I'm not sure how we report this ? As a bug!? But anyone having problems, heres your fix No need to report it as a bug it has already been fixed in CVS :) Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
Guyver Posted November 15, 2002 Posted November 15, 2002 dagnamit :roll: , trouble is I'm not a CVS d/l junky... Are these things reported anywhere as being fixed? John
Guyver Posted November 15, 2002 Posted November 15, 2002 ps , so looking at the the paypal module having 'points' in aswell, does that need changing!? John
Mark Evans Posted November 15, 2002 Posted November 15, 2002 ps , so looking at the the paypal module having 'points' in aswell, does that need changing!? Beat you to it :) http://www.geocrawler.com/lists/3/SourceFo...23/50/10067554/ Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
Guyver Posted November 15, 2002 Posted November 15, 2002 Blimey, yu'd better stay away from TNT :lol: You couldn't pay for support/community like this 8)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.