Created
October 24, 2025 10:22
-
-
Save kish2011/84b5dd799cace541f02e7784e0998445 to your computer and use it in GitHub Desktop.
SMEPay Support Information Guide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 🧾 SMEPay for WooCommerce — Support Information Guide | |
| When contacting support for **SMEPay for WooCommerce**, please include the details below. | |
| This helps us diagnose configuration, compatibility, and environment-related issues quickly. | |
| --- | |
| ## 🧩 1. Plugin & System Information | |
| | Item | Details | | |
| | ---------------------------------- | --------------------------------------------- | | |
| | **SMEPay for WooCommerce version** | *(Go to Plugins → Installed Plugins)* | | |
| | **WooCommerce version** | *(WooCommerce → Status → System Status)* | | |
| | **WordPress version** | *(Dashboard → Updates)* | | |
| | **PHP version** | *(WooCommerce → Status → Server Environment)* | | |
| | **Web Server** | *(Apache / Nginx / LiteSpeed / Other)* | | |
| --- | |
| ## 🎨 2. Theme Details | |
| | Item | Details | | |
| | ---------------------- | -------------------------------------------------- | | |
| | **Current Theme Name** | | | |
| | **Theme Version** | | | |
| | **Child Theme Active** | Yes / No | | |
| | **Theme Type** | ☐ Classic Theme ☐ Block Theme (Full Site Editing) | | |
| > 💡 *To check theme type:* | |
| > Go to **Appearance → Editor** — if you see “Site Editor”, it’s a **Block Theme**. | |
| --- | |
| ## 💳 3. SMEPay Plugin Settings | |
| Please include a screenshot or note of your current SMEPay configuration from: | |
| **WooCommerce → Settings → Payments → SMEPay** | |
| | Setting | Example / Notes | | |
| | --------------------------- | ------------------------------------------------ | | |
| | **Client ID / Merchant ID** | *(mask sensitive parts)* | | |
| | **Environment** | Live / Sandbox | | |
| | **Callback URL** | *(should end with `/wp-json/smepay/v1/webhook`)* | | |
| | **QR Code Method** | ☐ Inline DQR ☐ Wizdar | | |
| | **Payment Method Title** | *(as shown to customers)* | | |
| | **Sandbox Mode** | Yes / No | | |
| > **QR Code Method Notes:** | |
| > | |
| > * **Inline DQR:** Displays a dynamic QR code **directly on the checkout page** after placing the order. | |
| > * **Wizdar:** Redirects customers to the **Wizdar-hosted SMEPay page** for QR payment. | |
| > If your QR code is not appearing, specify which option you’re using — this helps us identify where the rendering may fail. | |
| --- | |
| ## ⚙️ 4. Site Configuration | |
| | Setting | Value | | |
| | --------------------------- | -------- | | |
| | **WordPress Address (URL)** | | | |
| | **Site Address (URL)** | | | |
| | **Language** | | | |
| | **Currency** | | | |
| | **Permalink Structure** | | | |
| | **SSL Enabled** | Yes / No | | |
| --- | |
| ## 🧩 5. Active Plugins List | |
| You can copy this from: | |
| **WooCommerce → Status → Active Plugins** | |
| Or generate a quick list by running this (temporary) snippet: | |
| ```php | |
| add_action( 'admin_init', function() { | |
| if ( current_user_can( 'manage_options' ) ) { | |
| echo '<pre>'; | |
| foreach ( get_option( 'active_plugins' ) as $plugin ) { | |
| echo esc_html( $plugin ) . "\n"; | |
| } | |
| echo '</pre>'; | |
| exit; | |
| } | |
| }); | |
| ``` | |
| --- | |
| ## 🪵 6. Debug & Error Logs | |
| Please include the following logs if available: | |
| ### 🗂️ WooCommerce Logs | |
| * Go to **WooCommerce → Status → Logs** | |
| * Select any file beginning with **`smepay-`** | |
| * Click **View** → **Download** → Attach it to your support request | |
| ### 🗂️ WordPress Debug Log | |
| If enabled, the file is at: | |
| ``` | |
| /wp-content/debug.log | |
| ``` | |
| If not enabled, temporarily add these lines to `wp-config.php`: | |
| ```php | |
| define( 'WP_DEBUG', true ); | |
| define( 'WP_DEBUG_LOG', true ); | |
| define( 'WP_DEBUG_DISPLAY', false ); | |
| ``` | |
| Then reproduce the issue and attach the generated `debug.log`. | |
| --- | |
| ## 🧠 7. Steps to Reproduce the Issue | |
| Describe exactly what you did and what happened: | |
| 1. Step-by-step actions (e.g., added product, went to checkout, selected SMEPay). | |
| 2. Expected result (e.g., QR code should appear or redirect to Wizdar). | |
| 3. Actual result (error message, blank screen, failed payment, etc.). | |
| > Example: | |
| > | |
| > * Selected **Inline DQR** | |
| > * After clicking “Place Order,” page reloads but QR code does not appear. | |
| > * No error in console. | |
| --- | |
| ## 📸 8. Screenshots / Videos | |
| Please include: | |
| * Error messages visible to customers | |
| * Checkout or payment screen showing missing QR or redirect issue | |
| * Any **console errors** (press F12 → Console tab → screenshot) | |
| --- | |
| ## 🧰 9. Environment & Hosting Info | |
| | Item | Details | | |
| | ------------------------------ | -------- | | |
| | **Hosting Provider** | | | |
| | **PHP Memory Limit** | | | |
| | **Max Execution Time** | | | |
| | **CDN or Caching Plugin Used** | | | |
| | **Security Plugins** | | | |
| | **Custom Checkout Code Added** | Yes / No | | |
| --- | |
| ## 📤 10. How to Send Support Information | |
| Please send the above details to: | |
| 📧 **[[email protected]](mailto:[email protected])** *(or your plugin’s official support email)* | |
| Attach logs, screenshots, and this document as a `.zip` or PDF. | |
| --- | |
| ## 💡 Optional — Auto Generate Support Report | |
| You can include a button in your plugin that auto-generates a report with all relevant info: | |
| ```php | |
| public function generate_support_report() { | |
| $data = [ | |
| 'WordPress Version' => get_bloginfo('version'), | |
| 'WooCommerce Version' => defined('WC_VERSION') ? WC_VERSION : 'Not Installed', | |
| 'PHP Version' => PHP_VERSION, | |
| 'Theme' => wp_get_theme()->get('Name') . ' (' . wp_get_theme()->get('Version') . ')', | |
| 'QR Code Method' => get_option('smepay_qr_method', 'Not Set'), | |
| 'Active Plugins' => array_values( get_option('active_plugins', []) ), | |
| 'SMEPay Settings' => get_option('woocommerce_smepay_settings', []), | |
| ]; | |
| header('Content-Type: text/plain'); | |
| echo "=== SMEPay Support Report ===\n\n"; | |
| foreach ( $data as $key => $value ) { | |
| if ( is_array( $value ) ) { | |
| echo "{$key}:\n" . print_r( $value, true ) . "\n"; | |
| } else { | |
| echo "{$key}: {$value}\n"; | |
| } | |
| } | |
| exit; | |
| } | |
| ``` | |
| --- | |
| ### ✅ Summary of What to Provide | |
| ✔️ WooCommerce, WordPress, and SMEPay plugin versions | |
| ✔️ Theme type (Block or Classic) | |
| ✔️ QR Code method (Inline DQR or Wizdar) | |
| ✔️ Logs (WooCommerce + WordPress) | |
| ✔️ Steps to reproduce | |
| ✔️ Screenshots and console errors | |
| --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment