html-admin-header-skeleton.php
3 weeks ago
html-admin-page-addons.php
1 year ago
html-admin-page-builder.php
4 months ago
html-admin-page-dashboard.php
2 years ago
html-admin-page-entries-view.php
3 weeks ago
html-admin-page-export.php
1 year ago
html-admin-page-form-migrator.php
2 years ago
html-admin-page-form-templates.php
4 months ago
html-admin-page-import.php
1 year ago
html-admin-page-payments.php
3 weeks ago
html-admin-page-setting.php
2 years ago
html-admin-page-smart-smtp-setup.php
3 weeks ago
html-admin-page-tools-logs.php
2 months ago
html-admin-page-tools.php
3 months ago
html-admin-settings.php
3 weeks ago
html-deactivation-popup.php
3 years ago
html-notice-allow-usage.php
2 months ago
html-notice-custom.php
3 months ago
html-notice-email-failed-notice.php
3 months ago
html-notice-php-deprecation.php
3 months ago
html-notice-review.php
3 months ago
html-notice-survey.php
3 months ago
html-notice-update.php
3 months ago
html-notice-updated.php
3 months ago
html-notice-updating.php
3 months ago
html-admin-page-payments.php
56 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin View: Payments upsell page (free version). |
| 4 | * |
| 5 | * @package EverestForms\Admin\Views |
| 6 | */ |
| 7 | |
| 8 | defined( 'ABSPATH' ) || exit; |
| 9 | |
| 10 | $upgrade_url = apply_filters( |
| 11 | 'everest_forms_upgrade_url', |
| 12 | 'https://everestforms.net/pricing/?utm_medium=evf-admin-payments&utm_source=evf-free&utm_campaign=payment-page-upsell&utm_content=Upgrade+to+Pro' |
| 13 | ); |
| 14 | |
| 15 | $icon_url = plugins_url( 'assets/images/payment-gateway-icon.png', EVF_PLUGIN_FILE ); |
| 16 | $stripe_url = plugins_url( 'assets/images/stripe.png', EVF_PLUGIN_FILE ); |
| 17 | $paypal_url = plugins_url( 'assets/images/paypal.png', EVF_PLUGIN_FILE ); |
| 18 | $premium_url = plugins_url( 'assets/images/evf-premium-icon.png', EVF_PLUGIN_FILE ); |
| 19 | ?> |
| 20 | <?php include __DIR__ . '/html-admin-header-skeleton.php'; ?> |
| 21 | |
| 22 | <div class="evf-payments-page-wrap"> |
| 23 | <div class="evf-payments-upsell-card"> |
| 24 | |
| 25 | <div class="evf-payments-icon-wrap"> |
| 26 | <img src="<?php echo esc_url( $icon_url ); ?>" alt="" width="80" height="80" aria-hidden="true"> |
| 27 | </div> |
| 28 | |
| 29 | <h3><?php esc_html_e( 'Unlock Payments with Pro', 'everest-forms' ); ?></h3> |
| 30 | |
| 31 | <p class="evf-payments-desc"> |
| 32 | <?php esc_html_e( 'Connect your preferred payment gateway via its official APIs to start collecting secure payments on your forms.', 'everest-forms' ); ?> |
| 33 | </p> |
| 34 | |
| 35 | <div class="evf-payments-gateways"> |
| 36 | <span class="evf-payments-gateway-badge evf-payments-gateway-badge--stripe"> |
| 37 | <img class="evf-payments-gateway-icon" src="<?php echo esc_url( $stripe_url ); ?>" alt="Stripe" width="18" height="18"> |
| 38 | <?php esc_html_e( 'Stripe', 'everest-forms' ); ?> |
| 39 | </span> |
| 40 | <span class="evf-payments-gateway-badge evf-payments-gateway-badge--paypal"> |
| 41 | <img class="evf-payments-gateway-icon" src="<?php echo esc_url( $paypal_url ); ?>" alt="PayPal" width="18" height="18"> |
| 42 | <?php esc_html_e( 'PayPal', 'everest-forms' ); ?> |
| 43 | </span> |
| 44 | <span class="evf-payments-gateway-badge evf-payments-gateway-badge--more"> |
| 45 | <?php esc_html_e( '+6 more on Pro', 'everest-forms' ); ?> |
| 46 | </span> |
| 47 | </div> |
| 48 | |
| 49 | <a href="<?php echo esc_url( $upgrade_url ); ?>" class="evf-payments-upsell-btn" target="_blank" rel="noopener noreferrer"> |
| 50 | <?php esc_html_e( 'Upgrade to Pro', 'everest-forms' ); ?> |
| 51 | <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14" width="14" height="14" aria-hidden="true" focusable="false"><path fill="#efefef" d="m7 1.167 3.5 9.333h-7z"></path><path fill="#fff" fill-rule="evenodd" d="M12 12.834H2v-1.667h10zm0-2.334H2l-.833-7L7 8.312 12.833 3.5z" clip-rule="evenodd"></path></svg> |
| 52 | </a> |
| 53 | |
| 54 | </div> |
| 55 | </div> |
| 56 |