Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

a few funny problems


Guest

Recommended Posts

i have a few funny problems left with my shop, the shop is a danish only site but the problems should be correctable anyway

 

the first problems is if creditcard is chosen then the costumer gets a e-mail with the transaction id, but the id is not stored in database as it should, only the value "NULL" is stored... also the IP number of the costumer is not stored

 

if cash is chosen as payment there is no problems

 

in both cases the costumer only gets a old text style order confirmation, not the style of fancier invoice

 

i use the following contribs: newsest oscommerce, danish language pack, ip_recorder, fancier invoice, credit card payment module from e-pay.dk, Down for Maintenance, oscThumb

 

a single contrib or two might have sliped my mind

 

the whole shop and database can be downloaded via the two following links (i thought it might help some to assist me with the few problems left) i have left out the configure files, but a copy of them can be found in this thread http://www.oscommerce.com/forums/index.php?showtopic=308375 :

 

http://quickpizza.dk/MySQL_Server.sql

http://quickpizza.dk/aktuel.zip

 

i write this one because i cant figure it out, i have tried to search else where for help but no luck

Link to comment
Share on other sites

i would very happy if these "nuts" could be cracked.. i have the local pizza delivery down the street asking when i'm done with the site

Link to comment
Share on other sites

hey i'm on my knees begging for help... if you need for info to help my then please ask

Not sure what to say.

 

You would be better off posting in the support threads for the conributions that you are having trouble with. Having them all in the one post is knd of over whelming.

Link to comment
Share on other sites

Bo

 

Hate to say this but probably the fastest way to proceed is to revert to a pre contribution version of osc and install the contributions one at a time and test between each.

 

Having installed once it should be quite rapid compared to the first time you did them

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

it was all working until i added the contrib for my danish credit card gateway.... and they could not find an answer for me.... yet

 

i can only guess, but i think when i choose to pay by credit card it redirect over to the files provided by the payment gateway... but i'm not good at php at all so it's only a guess

Link to comment
Share on other sites

it was all working until i added the contrib for my danish credit card gateway.... and they could not find an answer for me.... yet

 

i can only guess, but i think when i choose to pay by credit card it redirect over to the files provided by the payment gateway... but i'm not good at php at all so it's only a guess

If you remove it is it all good?

Link to comment
Share on other sites

So, is the module designed for your version of osc? The install edits, if any, may have to be adapted.

 

the module is designed for v2.x but it does not take in to account that other contribs might have been installed

 

i think that the install file is in english event that the contrib is for use with a danish gateway... let me have a look

Link to comment
Share on other sites

the install file is in english, but they have released a new version just 10 days ago, funny when thinking they told be they are on a 3 week holiday

Link to comment
Share on other sites

i tried the new version of the contrib, but now it gives me this at checkout_process:

 

Fatal error: Call to undefined method epaywindow::IsPopup() in /customers/quickpizza.dk/quickpizza.dk/httpd.www/demoshop/checkout_process.php on line 298

 

the checkout process looks like this around that line:

 

// -- EPAY START --

// load the after_process function from the payment modules

if (strncmp($payment, 'epay', 4) == 0) {

$_SESSION["order_id"] = $insert_id;

 

if ($payment_class->IsPopup()) {

tep_redirect(tep_href_link('checkout_epay.php', '', 'SSL'));

} else {

// force relay-script

tep_redirect('https://relay.ditonlinebetalingssystem.dk/relay/v2/relay.cgi/' . tep_href_link('checkout_epay.php', '', 'SSL') . '?HTTP_COOKIE=' . getenv("HTTP_COOKIE"));

}

}

else {

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

}

 

$payment_modules->after_process();

}

// -- EPAY END --

Link to comment
Share on other sites

i tried the new version of the contrib, but now it gives me this at checkout_process:

 

Fatal error: Call to undefined method epaywindow::IsPopup() in /customers/quickpizza.dk/quickpizza.dk/httpd.www/demoshop/checkout_process.php on line 298

 

the checkout process looks like this around that line:

 

// -- EPAY START --

// load the after_process function from the payment modules

if (strncmp($payment, 'epay', 4) == 0) {

$_SESSION["order_id"] = $insert_id;

 

if ($payment_class->IsPopup()) {

tep_redirect(tep_href_link('checkout_epay.php', '', 'SSL'));

} else {

// force relay-script

tep_redirect('https://relay.ditonlinebetalingssystem.dk/relay/v2/relay.cgi/' . tep_href_link('checkout_epay.php', '', 'SSL') . '?HTTP_COOKIE=' . getenv("HTTP_COOKIE"));

}

}

else {

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

}

 

$payment_modules->after_process();

}

// -- EPAY END --

Sorry, I reall do not know.

 

if ($payment_class->IsPopup()) { <-------- maybe should be epay instead of IsPopup

but I am really guessing.

Link to comment
Share on other sites

it should be epaywindow...

 

i looked up the module filename

Maybe compare that area of the module with the older version of the module?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...