Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Orders not showing in admin or for customer


12 replies to this topic

#1 Sharon123

  • Community Member
  • 93 posts
  • Real Name:Sharon
  • Location:New Zealand

Posted 22 October 2003, 10:44

Hi all

Nearly finished! been a long project.

I hope to show you all soon.

I have a problem where the pending order can not be seen by either the customer or through admin.

Not sure what to do about this one.
Any help would be wonderful!

Sharon ;)
I know more than I did yesterday...If thats any help!

#2 jood

  • Community Member
  • 13 posts
  • Real Name:jude

Posted 22 October 2003, 11:21

Hi,
I am having a similar problem. Only some orders show up. Sometimes I get a payment for paypal but no order in the shopping cart. The customer is there just no order, and they've already paid. This only happens sometimes but it is embarresing having to contact the customer to find out what they've ordered.

Any help would be greatley appreciated.

#3 shamon

  • Community Member
  • 11 posts
  • Real Name:shamon

Posted 22 October 2003, 13:03

I am also having this same problem for some reason and came upon this post while researching it. I believe this has something to do with a path, but I am not sure which one.

shamon

#4 chfields

  • Community Member
  • 1,272 posts
  • Real Name:Craig
  • Location:Florida,USA

Posted 22 October 2003, 14:36

If you are getting this problem with Paypal you can use this to remedy it

Just in case someone doesn't click continue to get back to your site
here is a mod to include into your PayPal module to you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) -

BACK UP BACK UP BACK UP

change the following code:

function process_button() {
global $order, $currencies, $currency;

if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') {
$my_currency = $currency;
} else {
$my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5);
}
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) {
$my_currency = 'USD';
}
$xx = '';
for ($i=0; $i<sizeof($order->products); $i++) {
$xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**';
}
$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .
tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .
tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) .
tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('currency_code', $my_currency) .
tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

return $process_button_string;
}


the above code snippet replaces the code snippet in the catalog/includes/modules/payment/paypal.php file

look for

function process_button() {

and then copy and paste and replace that section of code with the code above

#5 shamon

  • Community Member
  • 11 posts
  • Real Name:shamon

Posted 22 October 2003, 17:25

This is happening in everything for me. Paypal seems to make no difference.

Shamon

#6 Sharon123

  • Community Member
  • 93 posts
  • Real Name:Sharon
  • Location:New Zealand

Posted 23 October 2003, 00:14

Hey Thanks

But I dont use Paypal!

The order history shows up when the customer logs in.

But I cant see any orders at all within admin.

please help me

Sharon
I know more than I did yesterday...If thats any help!

#7 Sharon123

  • Community Member
  • 93 posts
  • Real Name:Sharon
  • Location:New Zealand

Posted 23 October 2003, 03:27

PLEASE HELP :(

My deadline is tomorrow, and I just cant fix it!

Someone.......?
I know more than I did yesterday...If thats any help!

#8 kepa

  • Community Member
  • 198 posts
  • Real Name:kepa

Posted 23 October 2003, 09:18

Hi Sharon, which is it?

Quote

I have a problem where the pending order can not be seen by either the customer or through admin.

or

Quote

The order history shows up when the customer logs in.

But I cant see any orders at all within admin.

as there is a difference.

#9 kepa

  • Community Member
  • 198 posts
  • Real Name:kepa

Posted 23 October 2003, 09:19

as far as the Paypal problem, the Paypal IPN mod fixed my same problem.

#10 jood

  • Community Member
  • 13 posts
  • Real Name:jude

Posted 23 October 2003, 10:13

I'll try that later today when I've got more time.

Thanks a lot. :)

I'm hapy now.

Jude,

#11 Sharon123

  • Community Member
  • 93 posts
  • Real Name:Sharon
  • Location:New Zealand

Posted 23 October 2003, 11:03

Sorry all

Fixed!!

I had to enable it in order status in admin

:D
I know more than I did yesterday...If thats any help!

#12 shamon

  • Community Member
  • 11 posts
  • Real Name:shamon

Posted 23 October 2003, 17:27

I don't follow, what did you have to enable. I am still having the problem of the order not showing up for the customer or in the admin.

Shamon

#13 chris69randy

  • Community Member
  • 7 posts
  • Real Name:chris randall

Posted 24 October 2003, 18:27

chfields, on Oct 22 2003, 02:36 PM, said:

If you are getting this problem with Paypal you can use this to remedy it

Just in case someone doesn't click continue to get back to your site
here is a mod to include into your PayPal module to you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) -

BACK UP BACK UP BACK UP

change the following code:

function process_button() {
global $order, $currencies, $currency;

if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') {
$my_currency = $currency;
} else {
$my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5);
}
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) {
$my_currency = 'USD';
}
$xx = '';
for ($i=0; $i<sizeof($order->products); $i++) {
$xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**';
}
$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .
tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .
tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) .
tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('currency_code', $my_currency) .
tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

return $process_button_string;
}


the above code snippet replaces the code snippet in the catalog/includes/modules/payment/paypal.php file

look for

function process_button() {

and then copy and paste and replace that section of code with the code above
hi

remember me from yesterday, well i managed to get the user permissions sorted but when i done the code you have posted it comes up with the error:

Warning: Cannot modify header information - headers
already sent by (output started at
/home/mvtqkof/public_html/shop/includes/modules/payment/paypal.php:140)
in
/home/mvtqkof/public_html/shop/includes/functions/general.php
on line 28


do you know what this is.

let me know

thanks
chris