Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Do I Pass The Items Purchased To The Payment Module?


Guest

Recommended Posts

okay.. I'm trying to change how the paypal payment method works for my store.. not sure if it's going to work, but I could do with a little bit of help.

 

On includes/modules/payment.paypal.php, how do I find the item that has bee purchased? It seems to only pass the total cost of the items, but for what I'm trying to do I need to check the item, then from that get the manufacturer. I can easily get the manufacturer using mysq, but I'm just stumped as to how to check what item(s) has been purchased.

Link to comment
Share on other sites

Dragen,

Their is a table field called date_purchased in the table orders...your checkout process uses a class in the class directory called order.php where you should find your answer...do a scan on date_purchased in the program order.php...

I hope this helps

Roman

dittone.com

Link to comment
Share on other sites

Thanks for the reply.

I'm not sure why you've suggested looking into the date_purchased table field, but I've found the orders_product table, which I think is what I need, so I'll look into that and let you know how I get on.

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...