Created
December 14, 2010 09:19
-
-
Save alovak/740173 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="/payment" method="POST"> | |
<!-- identification --> | |
<input name="order[user_id]" type="text" value="6" /> | |
<!-- order --> | |
<input name="order[number]" type="input" value="777" /> | |
<input name="order[email]" type="input" value="[email protected]" /> | |
<input name="order[total_amount]" type="input" value="2500" /> | |
<input name="order[currency]" type="input" value="USD" /> | |
<!-- item --> | |
<input name="order[line_items_attributes][][name]" type="input" value="Pragmatic Development Book" /> | |
<input name="order[line_items_attributes][][amount]" type="input" value="1500" /> | |
<input name="order[line_items_attributes][][quantity]" type="input" value="1" /> | |
<input name="order[line_items_attributes][][number]" type="input" value="1" /> | |
<!-- item --> | |
<input name="order[line_items_attributes][][name]" type="input" value="Pragmatic Integration Book" /> | |
<input name="order[line_items_attributes][][amount]" type="input" value="1000" /> | |
<input name="order[line_items_attributes][][quantity]" type="input" value="1" /> | |
<input name="order[line_items_attributes][][number]" type="input" value="2" /> | |
<input type="submit" value="Pay"/> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment