Current Environment / 当前环境 TEST / 测试
支付方式
All
订单标题
Order Subject

OmniPay Payment Test Demo / OmniPay 支付测试 Demo

PCI, Card API, iFrame, Hosted Checkout, and Wallet testing. PCI,Card API,iFrame,托管收银台和钱包测试.

🔧 Environment Status / 环境状态

🧪 TEST ENVIRONMENT / 测试环境 CHECKING

Using sandbox API for testing. Real transactions will NOT be processed. 使用沙盒 API 测试,不会处理真实交易.

🔧 API Configuration / API 配置

💡 Default from mode, editable
Choose a preset, or use Custom to enter project details manually. / 选择预设项目,或使用 Custom 手动填写项目配置.
Preset details / 预设说明

Pick a preset project, or choose Custom / 手动填写 to enter a project name and credentials manually.

可先选预设项目,或选择 Custom / 手动填写 后自行输入项目名和 API 凭证.

Localhost pages default to local OmniPay API. 本地页面默认使用本地 OmniPay API.

💳 Payment Flow Type / 支付流程类型

PCI Hosted Checkout Integration / PCI 托管收银台接入

PCI iFrame Integration / PCI iFrame 接入

PCI API Integration / PCI API 接入

Legacy API Integration / 旧 API 接入

Legacy Spreedly iFrame / 旧 Spreedly iFrame

Provider Hosted Checkout / 服务商托管收银台

Wallet / 钱包

🎯 3DS Test Scenarios / 3DS 测试场景

The Demo profile controls test parameters and UI; backend configuration decides the 3DS path. / Demo Profile 控制测试参数和 UI,实际 3DS 路径由后台配置决定.
Profile behavior / Profile 行为说明

mode=test: Demo selects a 3DS test profile for parameters and UI only. Backend configuration decides the internal 3DS path.

测试模式: Demo 只选择 3DS 测试 profile,用于参数和 UI.内部 3DS 路径由后台配置决定.

mode=prod: no front-end 3DS profile selection; handle the backend response.

生产模式: 前端不选择 3DS 方式,按后端响应进入对应流程.

tpo: select a 3DS profile for internal production-channel testing; the Demo handles the low-level request shape internally.

tpo: 可选择 3DS profile 做内部生产通道测试;底层请求形态由 Demo 内部处理.

After AUTHENTICATE, the next action is decided by requiredAction; threeDsFlow is display and diagnostics only.

收到 AUTHENTICATE 后按 requiredAction 决定动作,threeDsFlow 仅用于展示和排查.

Only for iFrame card payments with requiredAction=PMD_3DS. The bank challenge is never embedded in an iframe. / 仅用于返回 requiredAction=PMD_3DS 的 iFrame 卡支付;银行认证页不会内嵌在 iframe 中.
💡 Basic payment without 3DS authentication. 基础支付不进行 3DS 认证.

Basic Payment / 基础支付: Standard payment processing without 3DS authentication. 不进行 3DS 认证的标准支付处理.

MTSOPM Card defaults to 3DS; other MTSOPM methods use Order Subject. / MTSOPM 的 Card 默认 3DS,其他支付方式使用 Order Subject.
MTSOPM title guard / MTSOPM 标题保护

MTSOPM defaults to Card with subject 3DS. With MTSOPM, All and wallet modes force Order Subject and disable the 3DS preset to avoid a rejected AGPAY test request. Card titles remain editable. This internal Demo guard does not change OmniPay create-session subject validation.

MTSOPM 默认使用 Card 和标题 3DS.MTSOPM 的 All 和钱包模式会强制恢复 Order Subject 并禁用 3DS 预设,避免 AGPAY 测试请求被拒.Card 标题仍可编辑.该内部 Demo 保护不改变 OmniPay create-session 的 subject 校验合同.

💡 Enter an integer in the currency's smallest unit. Standard e-commerce syncs from cart items. 输入币种的最小货币单位整数.标准电商由购物车自动同步;数字商品等流程可直接编辑.
💡 Auto-generated, editable. 自动生成,可编辑.

🛒 Cart Items / 购物车商品

Required for e-commerce purchases. 电商购买必填.

Manage products in your cart. E-commerce requires at least one item. 管理购物车商品.电商至少需要一项商品.

Test: upsell minimum $15.00 USD. 测试环境加购最低 $15.00 USD.可直接输入金额或从建议值中选择.
🛒 Cart Total / 购物车总额: $15.00 USD 💡 Cart total auto-syncs to payment amount above. 购物车总额会自动同步到上方支付金额.

🎫 Global Coupons / 全局优惠券

Add general discount coupons for your order (optional). 为订单添加通用优惠券(可选).

Coupons here apply to the entire order. 这里的优惠券作用于整笔订单.

💡 Global coupons apply to the entire order and are separate from individual product coupons. 全局优惠券作用于整笔订单,与单个商品优惠券分开计算.
📋 Buyer & Billing Context / 买家与账单信息 Cardholder and billing fields used by the current flow. / 当前流程使用的持卡人与账单字段. Required / 必需
Flow-specific billing requirements / 各流程账单要求

Card API ECOMMERCE requires name, phone, complete billing and shipping. Card API DIGITAL_ENTERTAINMENT requires email and country; name, phone and street-level billing are normally optional.

Card API 电商必填姓名,电话,完整账单和收货信息.Card API 数娱必填邮箱和国家;姓名,电话及街道级账单通常选填.

💡 Include country code (e.g., +1 for US). Leave blank to omit. 请包含国家区号,例如美国 +1.可留空,留空时不发送该字段. Hosted Checkout and iFrame: blank values are omitted from the request. / Hosted Checkout 与 iFrame: 留空时不发送该选填字段.
Hosted Checkout requires a valid email format after trimming. It does not verify DNS, MX, mailbox existence, or deliverability. Hosted Checkout 去除首尾空白后校验邮箱格式,不验证 DNS,MX,邮箱是否存在或是否可投递.
Hosted Checkout sends this as buyer.billing_country_code. The buyer may choose another supported country on the new-card page. Hosted Checkout 将此值作为 buyer.billing_country_code 发送.买家可在新卡页改选其他受支持国家.
Optional for non-ecommerce flows. Check to edit Demo defaults below; uncheck to omit city/street/state/zip. Country above is always sent separately. 非电商流程可选.勾选后可编辑下方 Demo 默认值,不勾选则不传城市/街道/州/邮编.上方 Country 始终单独发送.

Payment Information / 支付信息

Secure checkout powered by Spreedly tokenization. 由 Spreedly Tokenization 提供安全收银能力.

iFrame access and Enhanced Security / iFrame 接入与增强安全

Merchant-operated Spreedly iFrame access and Enhanced Security are independent settings. Disabling iFrame access blocks this Demo path; disabling only Enhanced Security uses the documented unsigned compatibility flow.

商户自接 Spreedly iFrame 能力与 Enhanced Security 是两个独立开关.关闭 iFrame 接入会阻断当前 Demo 路径;仅关闭 Enhanced Security 时使用文档约定的无签名兼容流程.

For PMD 3DS, the full bank challenge opens in the selected tab or window, never inside an iframe. The Demo queries the original order for its final status.

PMD 3DS 会在所选页签或窗口打开完整银行认证页,不会内嵌在 iframe 中.Demo 查询原订单终态.

VISA
MC
🛡️ Norton Secured
🔒 McAfee Secure
✓ Verified by Visa
🔐 Mastercard SecureCode
📋 API Request & Response Log / API 请求与响应日志
Latest request first. Sensitive values are masked. / 最近请求在前,敏感值已脱敏.

No API requests recorded. / 暂无 API 请求记录.

🔄 Processing your payment... 正在处理支付...

Please do not close this window. 请不要关闭此窗口.