JSFiddle - React, Tailwind, and code Playground
by makfruit
HTML
<iframe name="hss_iframe" width="570px" height="540px"></iframe>
<form target="hss_iframe" name="form_iframe"
method="post"
action="https://securepayments.sandbox.paypal.com/webapps/HostedSoleSolutionApp/web
flow/sparta/hostedSoleSolutionProcess">
<input type="hidden" name="cmd" value="_hosted-payment">
<input type="hidden" name="subtotal" value="50">
<input type="hidden" name="reqbillingaddress" value="1">
<input type="hidden" name="solution_type" value="Sole">
<input type="hidden" name="callback_url" value="https://localhost">
<input type="hidden" name="callback_timeout" value="3">
<input type="hidden" name="callback_version" value="119">
<input type="hidden" name="fallback_shipping_option_name_0" value="Colissimo France">
<input type="hidden" name="fallback_shipping_option_amount_0" value="6">
<input type="hidden" name="fallback_shipping_option_is_default_0" value="true">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="template" value="templateD">
<input type="hidden" name="return"
value="https://yourwebsite.com/receipt_page.html">
<input type="hidden" name="rm" value="1">
</form>