Title: GetPay Payment Integration
Author: citytechglobal
Published: <strong>2025 年 7 月 24 日</strong>
Last modified: 2025 年 9 月 12 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/getpay-payment-integration/assets/icon-256x256.png?rev=3333350)

# GetPay Payment Integration

 由 [citytechglobal](https://profiles.wordpress.org/citytechglobal/) 開發

[下載](https://downloads.wordpress.org/plugin/getpay-payment-integration.1.0.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/getpay-payment-integration/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/getpay-payment-integration/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/getpay-payment-integration/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/getpay-payment-integration/#developers)

 [技術支援](https://wordpress.org/support/plugin/getpay-payment-integration/)

## 外掛說明

A secure payment gateway plugin for WooCommerce using GetPay.

GetPay WooCommerce Integration

A secure payment gateway plugin that integrates the **GetPay** payment system with**
WooCommerce** for WordPress e-commerce stores.

### Table of Contents

 * [Prerequisites](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#prerequisites)
 * [Installation](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#installation)
 * [Configuration](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#configuration)
 * [Page Setup](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#page-setup)
 * [Testing](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#testing)
 * [Troubleshooting](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#troubleshooting)
 * [Support](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#support)
 * [Security Notes](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#security-notes)
 * [Changelog](https://tw.wordpress.org/plugins/getpay-payment-integration/?output_format=md#changelog)

### Prerequisites

Before installing the GetPay plugin, ensure you have:

 * ✅ WordPress site with admin access
 * ✅ WooCommerce plugin installed and activated
 * ✅ GetPay merchant account (credentials from your bank)
 * ✅ SSL certificate installed (recommended for security)

### Configuration

### Step 1: Access Payment Settings

 * Navigate to **WooCommerce > Settings > Payments**
 * Locate **GetPay Gateway** in the list
 * Click **Manage** or **Set up**

### Step 2: Configure Required Fields

 Field
 Description Example

 **Enable**
 Check to activate GetPay ☑️

 **Title**
 Customer-facing payment title GetPay

 **PAP Info**
 Payment Application Provider info (from bank) `eyJpbn...`

 **OPR Key**
 Operational key `4fa4c6b9-...`

 **INS Key**
 Institution key (if any) (blank)

 **Website Domain**
 Your site domain (with HTTPS) `https://your-site.com`

 **Bundle JS URL**
 GetPay JS bundle `https://minio.finpos.global/.../bundle.min.
js`

 **Success URL**
 Redirect on successful payment `https://your-site.com/success`

 **Fail URL**
 Redirect on failed payment `https://your-site.com/fail`

 **Base URL**
 GetPay API base endpoint `https://uat-bank-getpay.nchl.com.np/...`

 * Click **Save Changes**

### Page Setup

### Step 1: Create Pages

Create the following pages via **Pages > Add New**:

#### 🛒 Cart Page

 * **Title:** Cart
 * **Content:** `[woocommerce_cart]`

#### 💳 Checkout Page

 * **Title:** Checkout
 * **Content:** `[woocommerce_checkout]`

#### 💰 Payment Page

 * **Title:** Payment
 * **Content:** Add the following HTML tag to embed the payment interface: `<div
   id="checkout"></div>`
 * **Purpose:** This page serves as the payment processing screen where the GetPay
   JS bundle will render the secure payment interface.

#### ✅ Success Page

 * **Title:** Payment Success
 * **Content:** Add the following shortcode in the content area of the page:
    [getpay_check_success_page]
 * **URL:** The page URL must exactly match the **Success URL** you have configured
   in the GetPay plugin settings (e.g., `https://your-site.com/success`).
 * **Custom Content:** You may add additional messages, images, or layout elements
   _after_ the shortcode if needed. However, **do not remove or modify the shortcode**,
   as it is essential for validating and displaying the payment confirmation.

#### ❌ Failure Page

 * **Title:** Payment Failed
 * **Content:** You can display a custom message such as: `[getpay_check_fail_page]`
 * **URL:** The page URL must exactly match the **Fail URL** you have configured
   in the GetPay plugin settings (e.g., `https://your-site.com/fail`).
 * **Custom Content:** You may customize the message or design of this page to fit
   your site’s branding, but make sure the URL is correct to ensure users are properly
   redirected after a failed transaction.

### Step 2: Assign Pages in WooCommerce

 * Go to **WooCommerce > Settings > Advanced**
 * Set:
    - **Cart page:** Cart
    - **Checkout page:** Checkout
 * Click **Save Changes**

### Testing

### Test Mode

 * Use **sandbox credentials** from your bank
 * Test with provided test card numbers
 * Verify flows: ✅ success, ❌ failure, ✋ cancellation

### Live Mode

 * Replace test keys with **production credentials**
 * Update **Base URL** to production endpoint
 * Run small-amount test transactions before going live

### Troubleshooting

### Plugin Not Appearing

 * Ensure **WooCommerce is activated**
 * Check if **GetPay plugin is active**
 * Verify **GetPay Gateway is enabled** under payment methods

### Payment Failures

 * Double-check **PAP/OPR/INS credentials**
 * Ensure **site has valid SSL**
 * Check if **JS bundle and API endpoints are accessible**

### Redirect Issues

 * Make sure success/fail URLs are correct
 * Pages should be **published** and match settings

### Debug Logs

 * Go to **WooCommerce > Status > Logs**
 * Check logs prefixed with **getpay**
 * Look for API errors or response messages

### Support

### 🛠️ Plugin Issues

 * Contact your plugin development team

### 🏦 Payment Issues

 * Contact your bank’s **GetPay support team**

### 📖 WooCommerce

 * Refer to [WooCommerce documentation](https://woocommerce.com/documentation/)

### Security Notes

 * 🔒 Always use HTTPS in production
 * 🔁 Keep plugin updated
 * 💾 Regularly back up your site
 * 🔐 Never share your credentials publicly
 * 🧪 Fully test before enabling live payments

## 安裝方式

### Step 1: Install WooCommerce

 1. Go to **Plugins > Add New**
 2. Search for “WooCommerce”
 3. Click **Install Now** and then **Activate**
 4. Complete the WooCommerce setup wizard

### Step 2: Install GetPay Plugin

#### Option A: From Plugin Directory

 1. Go to **Plugins > Add New**
 2. Search for **“GetPay”**
 3. Click **Install Now** and then **Activate**

#### Option B: Manual Upload

 1. Download the `.zip` file of GetPay plugin
 2. Go to **Plugins > Add New > Upload Plugin**
 3. Select the `.zip` file and click **Install Now**
 4. Click **Activate**

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈GetPay Payment Integration〉的開發相關工作。

參與者

 *   [ citytechglobal ](https://profiles.wordpress.org/citytechglobal/)

[將〈GetPay Payment Integration〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/getpay-payment-integration)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/getpay-payment-integration/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/getpay-payment-integration/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/getpay-payment-integration/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/getpay-payment-integration/)。

## 變更記錄

### Version 1.0.0

 * Initial release
 * WooCommerce + GetPay basic integration
 * Supports:
    - Success & failure redirects
    - Full credential configuration
    - Embedded JS bundle support

> © 2025 GetPay Integration Team
>  Securely built for WooCommerce by Citytech Global

## 中繼資料

 *  版本 **1.0.1**
 *  最後更新 **9 個月前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.4.8**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/getpay-payment-integration/)
 * 標籤:
 * [gateway](https://tw.wordpress.org/plugins/tags/gateway/)[nepal](https://tw.wordpress.org/plugins/tags/nepal/)
   [payment](https://tw.wordpress.org/plugins/tags/payment/)[woocommerce](https://tw.wordpress.org/plugins/tags/woocommerce/)
 *  [進階檢視](https://tw.wordpress.org/plugins/getpay-payment-integration/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/getpay-payment-integration/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/getpay-payment-integration/reviews/)

## 參與者

 *   [ citytechglobal ](https://profiles.wordpress.org/citytechglobal/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/getpay-payment-integration/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://citytech.global)