In Progress

oscommerce php help

hello

i have a oscommerce shop running on php5 and mysql5.

the shop ran find on my old server php4 and mysql4 but since the upgrade I have a problem with one part inparticular.

I am using [url removed, login to view] to process the card details but when the card presented is invalid the user is redirect to the following url...

[url removed, login to view];amp;error=The+first+four+digits+of+the+number+entered+are%3A+9999+If+that+number+is+correct%2C+we+do+not+accept+that+type+of+credit+card.+If+it+is+wrong%2C+please+try+again.&cc_owner=Paul+Jones&cc_expires_month=04&cc_expires_year=14&cc_start_month=03&cc_start_year=04

the "&'s" are being written incorrectly, they should be...

[url removed, login to view];error=The+first+four+digits+of+the+number+entered+are%3A+9999+If+that+number+is+correct%2C+we+do+not+accept+that+type+of+credit+card.+If+it+is+wrong%2C+please+try+again.&cc_owner=Paul+Brown&cc_expires_month=04&cc_expires_year=14&cc_start_month=03&cc_start_year=04

The code that generates this is as follows...

$payment_error_return = 'payment_error=' . $this->code . '&error=' . urlencode($error) . '&cc_owner=' . urlencode($HTTP_POST_VARS['cc_owner']) . '&cc_expires_month=' . $HTTP_POST_VARS['cc_expires_month'] . '&cc_expires_year=' . $HTTP_POST_VARS['cc_expires_year'] . '&cc_start_month=' . $HTTP_POST_VARS['cc_start_month'] . '&cc_start_year=' . $HTTP_POST_VARS['cc_start_year'];

Look forward to your solutions...

Regards

Paul

Skills: PHP

See more: find php, find help, upgrade php, shop redirect, server help, php help, php credit, php co, oscommerce help, error php, credit shop, cc shop, brown, php forward, help process, php url amp, server upgrade php, help using, redirect url code, url amp php, details follows, php correct, mysql4, problem presented, php url redirect

About the Employer:
( 24 reviews ) Isle of Mull, United Kingdom

Project ID: #199944

Awarded to:

mistersoft

Hi. It is not PHP4/5 problem. It is something like SEO urls bug. Just accept my bid. You will receive result within one hour. Thanks!

$30 USD in 0 days
(385 Reviews)
7.5

5 freelancers are bidding on average $38 for this job

cheapestandbest

We are oscommerce certified developers and [url removed, login to view] to start and finish this in just few hours.

$30 USD in 0 days
(581 Reviews)
8.7
value4u

Hi, please check my PM. Thanks you.

$30 USD in 0 days
(282 Reviews)
8.2
netsolve

Glad to work. Regards

$30 USD in 1 day
(290 Reviews)
7.3
drailean

hello, please check the PM

$40 USD in 0 days
(196 Reviews)
6.6
zgreedy

Hi. Please see PM.

$30 USD in 0 days
(6 Reviews)
2.9
we4freelance

Hello Sir, We can provide you with quick and perfect solution to your problem. Thanks. we4freelace

$60 USD in 1 day
(0 Reviews)
0.0