Ques/Help Placing a user upgrade payment button in custom areas?

S

sixlxvi

Guest
I want to make my own user upgrade page. Is it possible to add the same payment buttons from account_upgrades on a custom page?

Something simple like taking the default code but giving it specific upgrade IDs so I can reuse it for multiple buttons and place them where I want to in my HTML.

Code:

Code:
<xf:form action="{{ link('purchase', $upgrade, {'user_upgrade_id': $upgrade.user_upgrade_id_5}) }}" ajax="true" data-xf-init="payment-provider-container">
    <div class="inputGroup">
        <xf:if...

Read more

Continue reading...