Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is the subtotal amount stored in checkout...


Guest

Recommended Posts

_confirmation.

 

I plan on doing revanue tracking, but in order to accomplish this I need to pass the subtotal ammount to the receipt page through a hidden imput. Is the subtotal stored within an array?

Link to comment
Share on other sites

_confirmation.

 

I plan on doing revanue tracking, but in order to accomplish this I need to pass the subtotal ammount to the receipt page through a hidden imput. Is the subtotal stored within an array?

Or better yet, is this allready posted to chechout_success.php?

 

:D

Link to comment
Share on other sites

it is handeled by order_total.php and stored in your database. i believe the key is the order number.....

yes but I imagine that Authorize.net would post it back to the receipt page checkout_success.php right?

Link to comment
Share on other sites

i don't use authorize.net but my guess would be "no, authorize.net does not return that info." what would be the purpose? you provided them with that information, why would they return it??

 

just my thought...

 

also, i don't believe subtotal is stored anywhere. rather it is created where need be.

Link to comment
Share on other sites

  • 6 months later...
i don't use authorize.net but my guess would be "no, authorize.net does not return that info." what would be the purpose? you provided them with that information, why would they return it??

 

just my thought...

 

also, i don't believe subtotal is stored anywhere. rather it is created where need be.

So what probably needs to be done is a reconnect to the Database, and a query to grab that info right?

 

Only problem is if the OrderID isn't passed to the receipt page either, then running that sort of query is going to be troublesome.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...