<form action="https://www.2checkout.com/2co/buyer/purchase" method="post">
  <input type="hidden" name="sid" value="<%escape_html seller_id%>" />
  <input type="hidden" name="total" value="<%escape_html payment_amount%>" />
  <input type="hidden" name="cart_order_id" value="<%escape_html unique_id%>" />
  <input type="hidden" name="fixed" value="Y" />
  <input type="hidden" name="pay_method" value="CC" />
<%~-- This will only work if this matches the domain set up with 2Checkout: https://support.2co.com/deskpro/faq.php?do=article&articleid=363 --%>
  <input type="hidden" name="x_receipt_link_url" value="<%config.db_cgi_url%>/postback.cgi" />
<%~if demo%>
  <input type="hidden" name="demo" value="Y" />
<%~endif%>
  <input type="submit" value="Make Payment" class="submit" />
</form>
