taiwan-payment

Generate and validate payment orders for ECPay, NewebPay, and PAYUNi.

43|9|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/Moksa1123/taiwan-ecommerce-toolkit --skill taiwan-payment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: taiwan-payment
Source: https://github.com/Moksa1123/taiwan-ecommerce-toolkit/tree/main/taiwan-payment
Command: npx skills add https://github.com/Moksa1123/taiwan-ecommerce-toolkit --skill taiwan-payment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pycryptodome, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unifies ECPay, NewebPay, and PAYUNi integrations, enabling developers to quickly implement end-to-end payment flows with secure encryption and callback handling.

Core Features & Use Cases

  • End-to-end payment orchestration: create orders, post to gateway forms, and handle callbacks across multiple providers.
  • Multi-method support: credit card, ATM, CVS/barcode, LINE Pay, Apple Pay, and more for flexible adoption.
  • Use case: a merchant site wants to expand payment options, switch providers, or support subscriptions without rewriting core logic, while maintaining secure data handling.

Quick Start

Use taiwan-payment to generate a test payment order, obtain the gateway form payload, and submit it to the provider’s payment page to complete a transaction.

Frequently Asked Questions about taiwan-payment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate ECPay and NewebPay payment gateways in Python?

Integrating ECPay and NewebPay involves generating encrypted payment orders and form POST payloads, then submitting them to the gateway's payment page. This approach handles end-to-end workflows including multiple payment methods and callback processing for real-world e-commerce scenarios.

What is the best way to handle encryption for Taiwan payment gateway API payloads?

Handling encryption for Taiwan payment gateways requires secure data encryption using pycryptodome to generate and validate payment orders. This enforces protocol requirements across ECPay, NewebPay, and PAYUNi, producing ready-to-submit form data and API payloads for seamless integration.

Can I use PAYUNi with Python to process credit card and ATM payments?

Yes, you can use PAYUNi with Python to process credit card and ATM payments. The integration supports multiple payment methods including credit card, ATM, CVS/barcode, LINE Pay, and Apple Pay across ECPay, NewebPay, and PAYUNi for flexible adoption.

Does this payment integration approach support callback processing for e-commerce sites?

Yes, this payment integration approach supports callback processing for e-commerce sites. It covers end-to-end payment workflows including creating orders, posting to gateway forms, and handling callbacks securely across ECPay, NewebPay, and PAYUNi providers.

How do I generate a test payment order for ECPay or PAYUNi?

To generate a test payment order for ECPay or PAYUNi, you use the provided data-driven tooling to create an order, obtain the gateway form payload, and submit it to the provider's payment page. This produces ready-to-submit form data to complete a transaction.