• Hi!

    I would like to combine these codes. Is it possible?

    1) [stripe name=”My Store” description=”My Product” amount=”1999″]

    or

    <form action=”” method=”POST”>
    <script
    src=”https://checkout.stripe.com/checkout.js&#8221; class=”stripe-button”
    data-key=”pk_test_8OPXdFsNM7w384CMBUaIJApT”
    data-amount=”2000″
    data-name=”Demo Site”
    data-description=”2 widgets ($20.00)”
    data-image=”/128×128.png”>
    </script>
    </form>

    with

    2)

    <div class=”frm_submit”>
    [if back_button]<input type=”button” value=”[back_label]” name=”frm_prev_page” formnovalidate=”formnovalidate” class=”frm_prev_page” [back_hook] />[/if back_button]
    <input type=”submit” value=”[button_label]” [button_action] />
    <img class=”frm_ajax_loading” src=”[frmurl]/images/ajax_loader.gif” alt=”Sending”/>
    [if save_draft][draft_label][/if save_draft]
    </div>

    So basically when you press stripe button you also save the data from form

  • The topic ‘How to combine two codes into one’ is closed to new replies.