Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail

Package s2Member\PayPal

s2member\includes\classes\sc-paypal-button-e.inc.php at line #28

Class c_ws_plugin__s2member_sc_paypal_button_e

c_ws_plugin__s2member_sc_paypal_button_e

public class c_ws_plugin__s2member_sc_paypal_button_e

Shortcode [s2Member-PayPal-Button] (encryption sub-routines).

Since:

3.5


( 1 Method )
Method Summary
public static str

sc_paypal_button_encryption(str $code, array $vars)

Handles PayPal® Button encryption.

( 1 Method )
Method Detail

s2member\includes\classes\sc-paypal-button-e.inc.php at line #43

sc_paypal_button_encryption()

public static str sc_paypal_button_encryption(str $code, array $vars)

Handles PayPal® Button encryption.

This uses the PayPal® API. s2Member will NOT attempt to encrypt Buttons until there is at least a Business Email Address and API Username configured. s2Member also maintains a log of communication with the PayPal® API. If logging is enabled, check: /wp-content/plugins/s2member-logs/paypal-api.log.

Since:

3.5

Parameters:

str $code - The PayPal® Button Code before encryption.

array $vars - An array of defined variables in the scope of the calling Filter.

Returns:

str - The Resulting PayPal® Button Code (possibly encrypted, depending on configuration).

[ back to top ]

Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail