AnvarStudios Posted April 24, 2012 Share Posted April 24, 2012 Good day, The router I'm using requires me to discriminate the value of the tax to be sent in post method. When I look at the Gateway Module Development Kit, and there are variables created and used. such as $ InvoiceID = $ params ['InvoiceID']. If you want to add a variable to which the tax would be? I used: $ iva= $ params ['fee']; $ iva= $ params ['tax']; $ iva= $ params ['taxed']; $ iva= $ params ['taxamount']; But no work for me, what would? 0 Quote Link to comment Share on other sites More sharing options...
gbrennae Posted April 24, 2012 Share Posted April 24, 2012 $params['tax1'] and $params['tax2'] would be what you are looking for 0 Quote Link to comment Share on other sites More sharing options...
AnvarStudios Posted May 7, 2012 Author Share Posted May 7, 2012 Thanks will test to see if I work 0 Quote Link to comment Share on other sites More sharing options...
AnvarStudios Posted May 7, 2012 Author Share Posted May 7, 2012 It does not work I tried as much as the Tax1 and TAX2 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted May 7, 2012 Share Posted May 7, 2012 do a var_dump() on your params and see what is being passed to the function. 0 Quote Link to comment Share on other sites More sharing options...
AnvarStudios Posted May 8, 2012 Author Share Posted May 8, 2012 with the funtion var_dump() print NULL in all option 0 Quote Link to comment Share on other sites More sharing options...
AnvarStudios Posted May 12, 2012 Author Share Posted May 12, 2012 Thanks, I've solved the problem by making a query to the database with the ID of the invoice and capturing the value of the VAT invoice 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.