PluginProbe
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions / 120213
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions v120213
260917 260913 260909 260829 260814 260805 110710 110731 110812 110815 110912 110913 110915 110926 110927 111002 111003 111011 111017 111029 111105 111206 111216 111220 120213 All 189 releases
s2member / includes / templates / buttons / paypal-checkout-button.php

paypal-checkout-button.php in s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions 120213, at includes/templates/buttons/paypal-checkout-button.php

47 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
3 exit("Do not access this file directly.");
4 ?>
5
6 <form action="https://%%endpoint%%/cgi-bin/webscr" method="post">
7 <input type="hidden" name="business" value="%%paypal_business%%" />
8 <input type="hidden" name="cmd" value="_xclick-subscriptions" />
9 <!-- <?php echo _x ("Instant Payment Notification & Return Page Details", "s2member-admin", "s2member"); ?> -->
10 <input type="hidden" name="notify_url" value="%%notify_url%%" />
11 <input type="hidden" name="cancel_return" value="%%cancel_return%%" />
12 <input type="hidden" name="return" value="%%return%%" />
13 <input type="hidden" name="rm" value="2" />
14 <!-- <?php echo _x ("Configures Basic Checkout Fields", "s2member-admin", "s2member"); ?> -->
15 <input type="hidden" name="lc" value="" />
16 <input type="hidden" name="no_shipping" value="1" />
17 <input type="hidden" name="no_note" value="1" />
18 <input type="hidden" name="custom" value="%%custom%%" />
19 <input type="hidden" name="currency_code" value="USD" />
20 <input type="hidden" name="page_style" value="paypal" />
21 <input type="hidden" name="charset" value="utf-8" />
22 <input type="hidden" name="item_name" value="%%level_label%% / <?php echo esc_attr (_x ("Description and pricing details here.", "s2member-admin", "s2member")); ?>" />
23 <input type="hidden" name="item_number" value="%%level%%" />
24 <!-- <?php echo _x ("Configures s2Member's Unique Invoice ID/Code", "s2member-admin", "s2member"); ?> -->
25 <input type="hidden" name="invoice" value="<?php echo "<?php echo S2MEMBER_VALUE_FOR_PP_INV(); ?>"; ?>" />
26 <!-- <?php echo _x ("Identifies/Updates An Existing User/Member ( when/if applicable )", "s2member-admin", "s2member"); ?> -->
27 <input type="hidden" name="on0" value="<?php echo "<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>"; ?>" />
28 <input type="hidden" name="os0" value="<?php echo "<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>"; ?>" />
29 <!-- <?php echo _x ("Identifies The Customer's IP Address For Tracking", "s2member-admin", "s2member"); ?> -->
30 <input type="hidden" name="on1" value="<?php echo "<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>"; ?>" />
31 <input type="hidden" name="os1" value="<?php echo "<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>"; ?>" />
32 <!-- <?php echo _x ("Controls Modify Behavior At PayPal® Checkout", "s2member-admin", "s2member"); ?> -->
33 <input type="hidden" name="modify" value="0" />
34 <!-- <?php echo _x ("Customizes Prices, Payments & Billing Cycle", "s2member-admin", "s2member"); ?> -->
35 <!--<input type="hidden" name="amount" value="0.01" />-->
36 <input type="hidden" name="src" value="1" />
37 <input type="hidden" name="srt" value="" />
38 <input type="hidden" name="sra" value="1" />
39 <input type="hidden" name="a1" value="0.00" />
40 <input type="hidden" name="p1" value="0" />
41 <input type="hidden" name="t1" value="D" />
42 <input type="hidden" name="a3" value="0.01" />
43 <input type="hidden" name="p3" value="1" />
44 <input type="hidden" name="t3" value="M" />
45 <!-- <?php echo _x ("Displays The PayPal® Image Button", "s2member-admin", "s2member"); ?> -->
46 <input type="image" src="https://www.paypal.com/<?php echo esc_attr (_x ("en_US", "s2member-front paypal-button-lang-code", "s2member")); ?>/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" />
47 </form>