
內容簡介
Mypowerly Pricing Table Multipayment Gateways Bridge 外掛可將您的 WordPress 網站與 MyPowerly 平台連接,顯示外部管理的定價表。使用者可透過短碼或自動顯示功能輕鬆整合定價表,提升網站的功能性與使用者體驗。
【主要功能】
• 安全認證連接 WordPress 與 MyPowerly
• 從 MyPowerly 獲取定價表小工具
• 使用短碼或自動顯示小工具
• 可指定頁面顯示小工具
• 支援多個小工具顯示
• 連接狀態監控與斷開選項
外掛標籤
開發者團隊
② 後台搜尋「Mypowerly Pricing Table Multipayment Gateways Bridge」→ 直接安裝(推薦)
原文外掛簡介
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:
Shortcodes – Traditional shortcode integration for any content area
Gutenberg Blocks – Native WordPress block editor integration
Elementor Widgets – Professional page builder integration
Auto Display – Automatic placement on selected pages
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.
Authentication Flow
Modern OAuth 2.0 Implementation:
Secure Connection Initiation
Admin provides explicit consent through WordPress dashboard
Plugin generates secure connection request to MyPowerly
External redirect to MyPowerly authentication portal
Authorization Code Exchange
MyPowerly returns authorization code after successful login
Plugin exchanges code for access/refresh tokens via API
Credentials stored with AES-256-CBC encryption
Token Management
Automatic token refresh when expired
Token validation before API requests
Secure credential storage using WordPress salts
API Communication
Bearer token authentication for all requests
Idempotency keys prevent duplicate operations
HTTPS-only communication with SSL verification
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
Page Builder Integrations
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
Features
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
External Services
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.
Usage
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
Hooks
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
License
This plugin is licensed under the GPLv2 or later license.
Support
Support is available through the WordPress.org support forums.
Additional documentation may be available on the MyPowerly website.
Trademark Notice
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.
