{{response.title=base_title + ': ' + T('Test posting')}} {{extend 'layout.html'}}

Test posting like paypal does

This requires an OTT of a species that has been sponsored but not yet paid for. It makes request.args[0] the OTT_ID. If no OTT is given, we default to 773491, the coelacanth. If you want to test with another ott, you need to append it the the end of the TEST_POST url, as in {{=URL('test_post/773491', scheme=True, host=True)}}.

OTT {{=ott}}

This form should send a 'post' request to pp_process_post.html/{{=ott}} with
<input type="hidden" name="var1" id="hiddenField" value="my value">
Just like paypal calling (for OTT ID 1234)

pp_process_post.html/1234?first_name=John&last_name=Smith...


 
PP provides the following: 
** first_name -> PP_first_name
** last_name -> PP_second_name
** address_zip -> PP_postcode
** address_street -> PP_house_and_street
** address_city + address_state -> PP_town
** address_country -> PP_country

** payer_email -> PP_e_mail
** mc_gross -> verified_paid
** txn_id -> PP_transaction_code
** payment_date -> sale_time