

OAuth 2.0 connection screen with consent and security information
Mypowerly Pricing Table Multipayment Gateways Bridge connects your WordPress site with the MyPowerly platform to display pricing tables created and managed externally using modern OAuth 2.0 authentication.
This plugin acts as a secure connector between your WordPress website and your MyPowerly account. Pricing tables are created in the MyPowerly dashboard and displayed on your WordPress site using multiple integration methods:
Important: A MyPowerly account is required to retrieve and display pricing table widgets. You can create an account at https://mypowerly.com.
Third-Party Service Notice: This plugin connects to MyPowerly (https://mypowerly.com) to function. Please review their privacy policy and terms of service before use.
Modern OAuth 2.0 Implementation:
Secure Connection Initiation
Authorization Code Exchange
Token Management
API Communication
API Endpoints:
* /api/external_connect/ – Connection initiation
* /api/external_connect/credentials/ – Token exchange
* /api/auth/token/verify/ – Token validation
* /api/auth/token/refresh/ – Token refresh
* /api/widgets/widget-data/embed-script/ – Widget data retrieval
Gutenberg Block Editor:
* Native WordPress block: “MyPowerly Pricing Table”
* Real-time widget selection dropdown
* Live preview in block editor
* Automatic widget loading from MyPowerly API
* Block attributes: widgetId
* Block namespace: ptmpgb/mypowerly-widget
Elementor Page Builder:
* Custom widget category: “MyPowerly”
* Widget name: “MyPowerly Pricing Table”
* Dynamic widget dropdown with real-time loading
* Professional widget controls and settings
* Horizontal layout optimization with custom CSS
* Widget icon: eicon-price-table
* Keywords: pricing, table, mypowerly, payment
Integration Features:
* Automatic widget synchronization from MyPowerly
* Real-time widget availability checking
* Professional “one widget per page” enforcement
* Conflict prevention between manual and auto placements
* Responsive design optimization
* Custom CSS for layout consistency
Authentication & Security:
* Modern OAuth 2.0 authorization code flow
* AES-256-CBC encryption for sensitive credentials
* Automatic token refresh and validation
* Secure API communication with Bearer tokens
* Idempotency keys for request safety
* HTTPS-only with SSL verification
Core Features:
* Connect WordPress site to MyPowerly using secure authentication
* Retrieve pricing table widgets from MyPowerly API
* Multiple widget support with real-time synchronization
* Professional “one widget per page” enforcement
* Connection status monitoring and validation
* Webhook integration for real-time data sync
* Disconnect option to remove all stored connection data
Display Methods:
* Shortcodes – [ptmpgb_widget_by_id id="WIDGET_ID"]
* Gutenberg Blocks – Native WordPress block editor integration
* Elementor Widgets – Professional page builder widget
* Auto Display – Automatic placement on all pages or selected pages
* Manual Placement – Shortcodes and blocks take priority over auto-display
Display Features:
* Per-page widget assignment with different widgets per page
* Widget positioning control (top, middle, bottom of content)
* Responsive design with horizontal layout optimization
* Conflict prevention between different display methods
* Real-time widget loading and validation
Page Builder Integration:
* Gutenberg: Native block with live preview and widget selection
* Elementor: Custom widget category with professional controls
* Universal: Works with any page builder via shortcodes
* Theme Compatibility: Automatic layout optimization
Technical Features:
* Secure external API communication with retry logic
* Encrypted credential storage using WordPress salts
* Input sanitization and output escaping throughout
* Nonce verification for all admin actions
* Capability checks for admin access control
* Multisite compatible with per-site configurations
* Plugin data synchronization for optimization
* Structured webhook payloads for different data types
IMPORTANT: This plugin connects to external services to function properly.
Service Provider: MyPowerly
Service URL: https://mypowerly.com
Privacy Policy: https://mypowerly.com/privacy
Terms of Service: https://mypowerly.com/termOfServices
Connection Purpose:
* Authenticate your WordPress site with MyPowerly
* Retrieve widget embed data and configuration
* Display pricing tables created in MyPowerly dashboard
* Optional: Sync WooCommerce product data (disabled by default)
Data Transmitted to MyPowerly:
* Site URL and site name for connection identification
* Admin email address for account linking
* OAuth 2.0 authorization codes and tokens
* Widget ID requests for content retrieval
* Plugin version and basic site information for compatibility
* Plugin data for service optimization (optional, requires consent)
* Team data (admin users only) for workspace management
* WooCommerce product data (only when explicitly enabled by user)
Data Received from MyPowerly:
* OAuth 2.0 access and refresh tokens
* Widget configuration and embed codes
* Pricing table display data and scripts
* Workspace and team identifiers
* Webhook URLs for real-time synchronization
Authentication Security:
* OAuth 2.0 authorization code flow (industry standard)
* AES-256-CBC encryption for local credential storage
* Automatic token refresh with secure rotation
* Bearer token authentication for API requests
* Idempotency keys prevent duplicate operations
* HTTPS-only communication with SSL certificate verification
User Consent:
* Connection requires explicit user consent through admin interface
* WooCommerce sync is disabled by default and requires separate opt-in
* Users can disconnect and remove all stored data at any time
* No visitor personal data is collected or transmitted
Security:
* All data transmission uses HTTPS encryption with SSL verification
* OAuth 2.0 tokens stored with AES-256-CBC encryption locally
* Automatic token refresh prevents credential exposure
* Input sanitization and output escaping implemented throughout
* Nonce verification for all admin actions
* Capability checks enforce proper access control
* Idempotency keys prevent duplicate API operations
Legal Compliance:
By using this plugin, you acknowledge that data will be transmitted to MyPowerly as described above. Please review MyPowerly’s privacy policy and terms of service before connecting your site.
Connection Setup:
1. Go to “Pricing Widget” in WordPress admin menu
2. Click “Connect to MyPowerly” and provide consent
3. Complete OAuth 2.0 authentication in MyPowerly portal
4. Return to WordPress with automatic credential exchange
5. Click “Get Widget Code” to sync your pricing tables
Method 1: Shortcodes (Universal)
Primary shortcode format:
[ptmpgb_widget_by_id id="WIDGET_ID"]
Example:
[ptmpgb_widget_by_id id="8548119c-103c-43f4-a69b-ce79b8e29903"]
Legacy shortcode (backward compatibility):
[ptmpgb_widget id="WIDGET_ID"]
[myplugin_widget id="WIDGET_ID"]
Method 2: Gutenberg Blocks
1. Add new block in WordPress editor
2. Search for “MyPowerly Pricing Table”
3. Select widget from dropdown (auto-loaded from your account)
4. Block renders with live preview
5. Publish page to display pricing table
Method 3: Elementor Widgets
1. Open Elementor editor
2. Find “MyPowerly” category in widget panel
3. Drag “MyPowerly Pricing Table” widget to page
4. Select pricing table from dropdown
5. Widget displays with professional styling
Method 4: Auto Display
1. Go to plugin settings Display Options
2. Choose “Auto display on all pages” or “Display on selected pages”
3. Select widget and position (top/middle/bottom)
4. Save settings for automatic placement
Professional Features:
* One widget per page rule prevents conflicts
* Manual placements (shortcodes/blocks) override auto-display
* Real-time widget synchronization from MyPowerly
* Responsive horizontal layout optimization
Actions:
* ptmpgb_widget_display_before – Fired before widget display
* ptmpgb_widget_display_after – Fired after widget display
* ptmpgb_connection_established – Fired after successful OAuth connection
* ptmpgb_connection_disconnected – Fired after disconnection
* ptmpgb_widgets_synced – Fired after widget synchronization
Filters:
* ptmpgb_widget_content – Filter widget HTML content before display
* ptmpgb_shortcode_atts – Filter shortcode attributes
* ptmpgb_api_request_args – Filter API request arguments
* ptmpgb_oauth_redirect_url – Filter OAuth redirect URL
* ptmpgb_widget_wrapper_classes – Filter widget wrapper CSS classes
Integration Hooks:
* elementor/widgets/widgets_registered – Elementor widget registration
* elementor/elements/categories_registered – Elementor category registration
* enqueue_block_editor_assets – Gutenberg block assets
* init – Block type registration
This plugin is licensed under the GPLv2 or later license.
Support is available through the WordPress.org support forums.
Additional documentation may be available on the MyPowerly website.
The plugin name “Mypowerly Pricing Table Multipayment Gateways Bridge” uses only generic, descriptive terms:
“Pricing Table” – Common industry term for displaying pricing options
“Multi Payment Gateways” – Generic description of multiple payment processor support
“Bridge” – Generic term for software that connects systems
This plugin does not contain any registered trademarks, third-party brand names, or proprietary product names in its title or slug. All naming is purely descriptive of the plugin’s functionality and does not claim affiliation with any third party.