Lukket

osCommerce Points/Rewards contribution

I need help resolving a problem with Points/Rewards Contribution. The behavior in question is as follows:

At [url removed, login to view] a customer enters the exact amount of points whose value covers the order Total (or ticks the Max checkbox) and clicks Continue to get to the next checkout step which is checkout_confirmation.php. However [url removed, login to view] sends them back to [url removed, login to view] with the following error message in the URL "error_message=REDEEM+POINTS+ERROR+%21+Points+value+can+not+be+over+the+total+value.+Please+Re+enter+points", and a 0 in the Points amount to spend field; this happens regardless of whether any Payment Method is selected.

The code that does that is on line 95 in the attached php file. I guess I should mention that when I installed the Points/Rewards contribution, it worked as it should. However I started to mess around with the code in [url removed, login to view] to resolve an issue that the original Points/Rewards has where if a CC Payment method is selected or is the only one available (therefore selected by default) and the amount of customers points very well cover the order Total a CC error message is returned if no CC info is entered. I was trying to make it so if there are enough points the whole thing bypasses payment modules altogether. However I decided not to go though with it and rolled back to the original version of the file after Points/Rewards was installed.

I am not sure whether the above mentioned behavior started after I rolled back or sometime during my messing around with the code. I should also mention that the Points/Rewards is installed over CCGV(trad).

Færdigheder: PHP

Se mere: continue line in c, though, therefore, spend, points, oscommerce help, my points, get clicks, payment code oscommerce, ccgv contribution, trying, returned, sure problem, info line, url max, step checkout problem, method available, max step file, payment oscommerce, resolve issue, oscommerce checkbox error, oscommerce checkbox error message, error oscommerce php, oscommerce error message, oscommerce url problem

Om arbejdsgiveren:
( 0 bedømmelser ) Brooklyn, United States

Projekt-ID: #65125

4 freelancere byder i gennemsnit $80 for dette job

cstl

Chandusoft is a customer-specific service oriented company has got an Professional and creative team with 6 years experience in Web design and development. We have expertise and experience in ecommerce site development Mere

$89 USD in 6 dage
(18 bedømmelser)
6.9
bunny66

Ok. Will complete in 1 day by doing this 29 steps CREATING DATABASE TABLE. ADDING NEW FILES.(11 files + 8 images). EDITING OS COMMERCE FILES.(catalog dir) 20 steps. EDITING OS COMMERCE FILES.(admin dir) 7 steps.

$60 USD på 1 dag
(2 bedømmelser)
3.8
nucleaus

Hello sir. I have work on many dating portals, hotel reservation, shopping carts sites. I assure you to give regular updates about projects and good quality work. Please see pm.

$100 USD in 3 dage
(0 bedømmelser)
3.6
IntSS

Instance Software Solutions (ISS) is a product based company which is having rich experience on developing enterprise, distributed and web based applications using PHP/Mysql/Java/HTML/JavaScript/ JSP/Servlets/Struts/EJ Mere

$70 USD in 7 dage
(0 bedømmelser)
0.0