How do we post payment totals and discounts out to other pages

  • Profile Image
    TeamLocal
    Asked on February 19, 2014 at 05:40 PM

    Hi,

    We have a form with products and coupons on it.  When we post the data out, it doesn't include the total or the coupon amount.  How do we get that data to post as well?  I'm attaching a screenshot of the data that is posted.

    Another question - is there a way to perform calcuations on a form like this to incorporate an option like we are, which is buy 5 get 1 free, prior to submitting? 

    Thanks in advance,

    Renee Borson

  • Profile Image
    BDAVID
    Answered on February 19, 2014 at 06:58 PM

    Could you please share with us you php script you use? In order to make caculations on your form, please take a  look a this guide.

  • Profile Image
    TeamLocal
    Answered on February 19, 2014 at 09:05 PM

    I can, but the issue with calculation seems more to be that the fields that hold the products and the total and coupon amounts are not accessible.  If I use the calculation wizard, all of the fields I'd need in order to calcuate discounts are not displayed.   

    We can leave the calculation question out of it for now - sorry I should probably have posted that separately.  The bigger question is why the total and coupon (disount) fields are not showing up in the data that is sent across when we enable the "Send Post Data" option in advanced settings.  The screenshot I included originally is just a page that is displaying what is getting posted out.  We used the payment tools integration method to get the fields on the form.

  • Profile Image
    Cesar
    Answered on February 19, 2014 at 09:55 PM

    I do believe this is due to the type of fields the total and the coupon are a part of. The provide functionality to the form's Payment Tool, but they are not a direct field that is saved on submissions. The Total may appear on submissions but it does not have its own independent field. In any case, I will raise your concern to the development team so that they may shed light to this matter. Once we have an update from them, they will let us know through this page. Thank you.

  • Profile Image
    NeilVicente
    Answered on March 10, 2014 at 02:14 AM

    @TeamLocal

    I'd like to inform you that this problem has been fixed. Selected products, total, and coupon used are now sent properly as post data to your URL of choice.

    Please try it then let us know if you encounter any problems with it. Your feedback is much appreciated.

    Cheers!