html Paypal提交表单#Paypal,#Magento,#Example

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Paypal提交表单#Paypal,#Magento,#Example相关的知识,希望对你有一定的参考价值。

<html><body>You will be redirected to the PayPal website in a few seconds.<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" id="paypal_standard_checkout" name="paypal_standard_checkout" method="POST"><div><input name="form_key" type="hidden" value="m4Ux3YIWUZc3biqa" /></div><input id="business" name="business" value="tuan.nguyen-meerchant@bluecomgroup.com" type="hidden"/>
<input id="invoice" name="invoice" value="145000024" type="hidden"/>
<input id="currency_code" name="currency_code" value="USD" type="hidden"/>
<input id="paymentaction" name="paymentaction" value="sale" type="hidden"/>
<input id="return" name="return" value="http://rsmagento_1_14_01.app/paypal/standard/success/" type="hidden"/>
<input id="cancel_return" name="cancel_return" value="http://rsmagento_1_14_01.app/paypal/standard/cancel/" type="hidden"/>
<input id="notify_url" name="notify_url" value="http://rsmagento_1_14_01.app/paypal/ipn/" type="hidden"/>
<input id="bn" name="bn" value="Magento_Cart_Enterprise" type="hidden"/>
<input id="item_name" name="item_name" value="Madison Island" type="hidden"/>
<input id="lc" name="lc" value="en_US" type="hidden"/>
<input id="charset" name="charset" value="utf-8" type="hidden"/>
<input id="amount" name="amount" value="395.00" type="hidden"/>
<input id="tax" name="tax" value="0.00" type="hidden"/>
<input id="shipping" name="shipping" value="5.00" type="hidden"/>
<input id="discount_amount" name="discount_amount" value="0.00" type="hidden"/>
<input id="item_number_1" name="item_number_1" value="aws000" type="hidden"/>
<input id="item_name_1" name="item_name_1" value="Barclay d'Orsay pump, Nude" type="hidden"/>
<input id="quantity_1" name="quantity_1" value="1" type="hidden"/>
<input id="amount_1" name="amount_1" value="390.00" type="hidden"/>
<input id="item_number_2" name="item_number_2" value="Flat Rate - Fixed" type="hidden"/>
<input id="item_name_2" name="item_name_2" value="Shipping" type="hidden"/>
<input id="quantity_2" name="quantity_2" value="1" type="hidden"/>
<input id="amount_2" name="amount_2" value="5.00" type="hidden"/>
<input id="cmd" name="cmd" value="_cart" type="hidden"/>
<input id="upload" name="upload" value="1" type="hidden"/>
<input id="tax_cart" name="tax_cart" value="0.00" type="hidden"/>
<input id="discount_amount_cart" name="discount_amount_cart" value="0.00" type="hidden"/>
<input id="city" name="city" value="<city here>" type="hidden"/>
<input id="country" name="country" value="US" type="hidden"/>
<input id="email" name="email" value="tuanphpvn@gmail.com" type="hidden"/>
<input id="first_name" name="first_name" value="tuan" type="hidden"/>
<input id="last_name" name="last_name" value="nguyen" type="hidden"/>
<input id="zip" name="zip" value="70000" type="hidden"/>
<input id="state" name="state" value="GA" type="hidden"/>
<input id="address1" name="address1" value="<address here>" type="hidden"/>
<input id="address2" name="address2" value="" type="hidden"/>
<input id="address_override" name="address_override" value="1" type="hidden"/>
<span class="field-row">
<input id="submit_to_paypal_button_aea07320d5664a00a607d51241407e8c" name="" value="Click here if you are not redirected within 10 seconds..." type="submit" class=" submit"/>
</span>
</form><script type="text/javascript">document.getElementById("paypal_standard_checkout").submit();</script></body></html>

以上是关于html Paypal提交表单#Paypal,#Magento,#Example的主要内容,如果未能解决你的问题,请参考以下文章

在 wordpress 网站中提交带有 paypal 按钮的表单数据

PayPal 自适应支付表单提交错误

Paypal返回商家链接和表单提交

Laravel paypal表单提交验证

写入我的数据库并使用相同的表单向 Paypal 提交表单?

PayPal IPN 间歇性地不通过表单提交将购物车/信息发布到 PayPal