LearnDash_Settings_Section_Stripe_Connect
Class LearnDash Settings Section for Stripe Connect.
Description #
Source #
Changelog #
Version | Description |
---|---|
4.0.0 | Introduced. |
Methods #
- __construct — Protected constructor for class
- account_is_connected — Checks if account is already connected.
- cleanup_stripe_connect_customer_id — Clean up Stripe Connect customer_id metadata from users.
- connection_button — Shows Stripe Connect button
- filter_section_save_fields — Filter the section saved values.
- generate_connect_url — Generates a connect url.
- generate_disconnect_url — Generates Stripe disconnect url.
- get_currency_note — Get currency advice for users if Paypal is enabled.
- get_default_stripe_webhook_url — Get the default webhook url.
- get_stripe_webhook_notice — Return the stripe Webhook notice
- get_stripe_webhook_url — Get the stripe webhook URL.
- handle_connection_request — Handle connection.
- handle_disconnection_request — Handle disconnection.
- is_on_payments_setting_page — Checks if payments settings is a current page.
- is_stripe_connected — Check if Stripe is connected.
- load_settings_fields — Initialize the metabox settings fields.
- load_settings_values — Initialize the metabox settings values.
- show_notices — Show notices.
- validate_section_stripe_connect_currency — Validate Settings Currency field.