sasori Posted June 5, 2011 Share Posted June 5, 2011 Hi, am using Codeigniter My app goes like this, 1) user selects a topic from a dropdown 2) user is able to type some text/questions inside a text area under that dropdown 3) user clicks paypal checkout button and pay for asking a question question is, how will i save the id of the selected topic and the typed question if my submit button is calling paypal's processing stuff and not my own ci controller action thing ? here's the code of the submit/checkout button of paypal <form action=https://sandbox.paypal.com/cgi-bin/webscr method=post> <input type=hidden name=cmd value=_cart> <input type=hidden name=business value="test@gmail.com"> <input type=hidden name=item_name value="test"> <input type=hidden name=item_number value="1"> <input type=hidden name=amount value="<?php foreach($query3->result() as $row){echo $row->price; } ?>"> <input type=hidden name=quantity value="1" disabled="disabled"> <input type=hidden name=currency_code value="USD"> <input type="hidden" name="return" value="http://your-website.com/after-payment-page.html" / > <input type=image id="checkout" src="https://www.paypal.com/images/x-click-but6.gif" Border="0" name=submit><br> <input type=hidden name=add value=1></form> Quote Link to comment https://forums.phpfreaks.com/topic/238436-ci-save-data-in-table-via-pp-checkout/ Share on other sites More sharing options...
thilak Posted July 17, 2011 Share Posted July 17, 2011 I am new to this forums...... Quote Link to comment https://forums.phpfreaks.com/topic/238436-ci-save-data-in-table-via-pp-checkout/#findComment-1243635 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.