Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pay-pal module not working correctly


Guest

Recommended Posts

Posted

I only accept pay-pal for payments, today I had an order come in and I got the following information from the pay-pal payment page...

 

There is no item description, any ideas?? Thanks

 

And when I check the admin section there are no orders that were processed, anywhere.

 

 

Item Amount:

$49.75 USD

 

Shipping:

$16.00 USD

 

Handling:

$0.00 USD

 

Quantity:

1

 

Item Title:

Spare A Buck

 

Date:

Jun. 28, 2005

 

Time:

21:44:16 PDT

 

Status:

Completed

 

http://www.spareabuck.com/oscommerce/index.php

Posted

I dont know much about programming, but in the code below the item_name is the store_name, shouldn't it be the item number?

 

Is there any way to add the item number to this.

 

$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) .

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'));

Archived

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

×
×
  • Create New...