Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2011
    Posts
    4
    Plugin Contributions
    0

    Default Stardard place for payment references ?

    Hi,

    I did a quick search of the forums and couldn't find an answer to my question.

    Is there a standard place that payment references are stored in the database ( I have no addons, out of the box zen cart install ), for example looking at the orders table in the database there is a payment_method and payment_module_code, but there doesn't seem to be a reference anywhere?

    thanks for any help.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: Stardard place for payment references ?

    What do you mean by "payment references"?

  3. #3
    Join Date
    Dec 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stardard place for payment references ?

    Quote Originally Posted by gjh42 View Post
    What do you mean by "payment references"?
    The unique code that can be used to track down the payment in your payment system.

  4. #4
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Stardard place for payment references ?

    Each order is assigned an order number. That's a good starting point.
    Anything else largely depends on what payment system is used for each payment. So ... what payment module(s) are you using to collect payments in your store?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stardard place for payment references ?

    Quote Originally Posted by DrByte View Post
    Each order is assigned an order number. That's a good starting point.
    Anything else largely depends on what payment system is used for each payment. So ... what payment module(s) are you using to collect payments in your store?
    I was thinking there might be a central place that stores something like

    orderid - the id
    paymenttype - paypal, eway, etc
    paymentreference - the unquie payment id
    paymentsuccess - success

  6. #6
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Stardard place for payment references ?

    Yes, that information is stored with all the order data.

    What exactly are you wishing to do with it? Surely there's a business reason behind why you're asking the question.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Dec 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stardard place for payment references ?

    Quote Originally Posted by DrByte View Post
    Yes, that information is stored with all the order data.

    What exactly are you wishing to do with it? Surely there's a business reason behind why you're asking the question.
    Basically we have some code in zen-cart which pushes orders into an inventory system.

    I would like to be able to get the payment information and push that data to the inventory system.

    I don't see anything in the orders table that looks like a payment reference, all I can see is payment_method and payment_module_code there is order_id but that is of no help to me.

  8. #8
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Stardard place for payment references ?

    If the payment module received and stored any transaction number data, it likely stored it in the orders_status_history records for that order as part of free-form comment text.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Can i place Payment method (Credit card/ paypal) in shopping_cart page?
    By arunkarthik in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 31 Mar 2010, 10:39 AM
  2. Needs some references/help (please)
    By fastdc5 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Jan 2009, 03:18 PM
  3. place order make payment - then error message!
    By digz in forum Addon Payment Modules
    Replies: 2
    Last Post: 18 Mar 2008, 10:09 AM
  4. Fresh install Payment ,Shipping, and Order total, go no place.
    By TalonOne in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 24 Jan 2008, 08:26 PM
  5. Can I place an order without taking payment?
    By kyates in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 14 Aug 2007, 08:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •