Click to Pay
Click to Pay 是一种智能、无需密码的在线结账选项,可提供快速、简便的结账体验,旨在让您在所有设备上更快、更轻松地结账。 Click to Pay 为所有参与的卡组织(包括 Mastercard、Visa、American Express、Discover)提供单一结账按钮和标准化的结账流。 Click to Pay 基于 EMVCo 的 Secure Remote Commerce (SRC) 规范构建,取代了 Masterpass、Visa Checkout 和 Amex Express Checkout。
支持以下集成方法:
集成方法
交易
*有关将 Click to Pay 添加到 Direct Payment 集成的说明,请联系 your payment service provider。
全部
关于添加方法
当付款人注册 Click to Pay 时,他们会使用他们的电子邮件地址并将他们的支付卡添加到他们的 Click to Pay 个人资料中。
在您网站结账时:
付款人提供电子邮件地址。
付款人使用一次性密码 (OTP) 执行额外的验证步骤。
从付款人的 Click to Pay 个人资料中检索并显示其卡详细信息。
付款人可以选择使用哪张卡进行付款。
Click to Pay 显示包含付款详细信息的数字卡服务商用户界面 (DCF) 组件。 付款人接受详细信息并确认付款。
为了避免将来再次进行 OTP 验证步骤,付款人可以选择“记住我”选项,以便在后续结账中使用同一浏览器时跳过验证。
付款人可以在他们的 Click to Pay 个人资料中存储多个信用卡、借记卡或预付卡,关联的账单地址和多个送货地址。 卡详细信息会被安全地存储,并通过在可能的情况下提供网络令牌化来提供额外的安全性(需要在付款人的市场中启用网络令牌化)。 Click to Pay 允许付款人选择要用于付款的付款详细信息;但是,付款本身使用在 Mastercard Gateway 中为您的商家配置文件配置的收单行来处理。
如果付款人没有现有的 Click to Pay 个人资料,可以在结账过程中通过提供电子邮件地址和卡详细信息,然后选择继续使用 Click to Pay 来进行创建。 Click to Pay 会显示 DCF 组件,付款人可以在此组件中在确认付款之前添加联系详细信息并创建 Click to Pay 个人资料。 如果付款人不想使用 Click to Pay,可以提供卡详细信息来进行常规的信用卡或借记卡付款,选择继续进行来宾结账。
Click to Pay 具有以下优点:
结账流中“嵌入”智能付款人识别,可跨所有设备发起更快的来宾结账,无需记住密码。
减少点击次数和手动卡输入,最终提高转化率,实现无障碍体验。
通过网络令牌化,增加提高授权审批率的几率,帮助减少可预防的拒绝。
基于 EMVCo SRC 标准构建,在电子商务来宾结账付款时提供一致的用户体验,降低欺诈率。
安全交换付款数据,包括卡详细信息、账单和送货地址详细信息。
目前,Click to Pay 仅在某些国家/地区可用。 请与 your payment service provider 确认在您的国家/地区是否可用。
主要支持的功能
使用 Click to Pay 作为付款方式时,您可以:
使用单一操作支付或两步授权和过账交易完成支付。
进行退款、取消和付款。
在您的请求中添加补充数据 ,让付款对于付款人更加便利或简化付款在付款系统中的处理。
目前,Click to Pay 不支持
商家发起交易 (MIT) 。 如果您想在第一次持卡人发起交易 (CIT) 后使用相同的付款详细信息处理一系列定期付款或分期付款,不要提供 Click to Pay 作为付款方式选项。
返回的付款详细信息
Click to Pay 会根据网关的请求、您在 Click to Pay 系统中的配置以及使用的卡组织,将不同类型的付款详细信息返回到网关,从而返回给您。 通常,Click to Pay 会返回网络令牌、令牌过期时间、卡组织支持的完整密文以及隐藏的卡详细信息。
如果使用的卡不支持网络令牌化,例如,发卡机构未参与,Click to Pay 将返回卡详细信息,如卡号和卡过期时间,而不是网络令牌详细信息。
如果您位于美国,已表明想要行使“杜尔宾修正案”规定的权利,C2P 将提供卡详细信息,如借记卡的卡号和卡过期时间。
付款人在 C2P 交互过程中提供的付款详细信息将存储在会话中,并在使用会话执行的所有 API 请求的交易响应中返回:
网络令牌详细信息
如果响应包含网络令牌详细信息,则 sourceOfFunds.type
字段设置为 SCHEME_TOKEN
。 此外:
隐藏卡详细信息在以下字段中返回:
sourceOfFunds.provided.card.number
sourceOfFunds.provided.card.expiry.year
sourceOfFunds.provided.card.expiry.month
网络令牌详细信息在以下字段中返回:
sourceOfFunds.provided.card.deviceSpecificNumber
sourceOfFunds.provided.card.deviceSpecificExpiry.month
sourceOfFunds.provided.card.deviceSpecificExpiry.year
American Express 不支持此类网络令牌。
完整的网络令牌密文仅在 UPDATE SESSION FROM WALLET 响应中返回,不会在任何付款交易响应中返回。
卡详细信息
如果不支持网络令牌化,而是返回卡详细信息,sourceOfFunds.type
字段将被设置为 CARD
。 此外,还会返回以下隐藏的卡详细信息:
sourceOfFunds.provided.card.number
sourceOfFunds.provided.card.expiry.year
sourceOfFunds.provided.card.expiry.month
付款人详细信息
customer
对象内提供付款人的姓名和电话号码。 如果您在请求中将 consumerEmailAddressRequested
设置为 true
,付款人的电子邮件地址将在 customer.email
字段中提供。
账单地址
与信用卡关联的账单地址在 billing.address
对象字段中提供。
送货地址
如果您在请求中将 collectShippingAddress
设置为 true,送货地址将在 shipping.address
对象字段中提供。
先决条件
要使用“Click to Pay”作为付款方式:
联系 your payment service provider,确保您可以使用“Click to Pay”,并启用使用它所需的权限。
注册 SRC 并在 Merchant Administration (MA) 中为您的商家账户激活 SRC。 转到“管理 > SRC 配置”,按照说明操作。
将此方式添加到您的集成中
按照您想要使用的集成方法的说明进行操作。
有关 Click to Pay 交易 请求的示例,请下载 Postman 集合 。
Hosted Checkout
如果您使用的是 Hosted Checkout 实施方法,网关从 API v63 开始支持 Mastercard、Visa 和 American Express 卡使用 Click to Pay。
如果您的商家配置文件已启用使用 Click to Pay 的功能,该选项会在托管付款页面的信用卡和借记卡付款选项中自动提供给您的付款人:
如果付款人已有 Click to Pay 个人资料,他输入电子邮件地址或您在 INITIATE CHECKOUT
请求中提供该地址,付款人必须输入 OTP,然后才会显示存储在其 Click to Pay 个人资料中的卡以供选择。
如果付款人已有 Click to Pay 个人资料,其被通过 cookie 识别出来,将显示其 Click to Pay 个人资料中存储的卡以供选择。
如果付款人没有现有的 Click to Pay 个人资料,托管付款页面会允许他们进行创建,并为个人资料存储卡详细信息。
要允许付款人在您的 Hosted Checkout 集成中使用 Click to Pay,在实现一般 Hosted Checkout 集成 时考虑以下事项:
送货地址: 付款人无法在 Click to Pay 交互过程中选择送货地址。 如果您需要订单的送货地址,请在发送 INITIATE CHECKOUT
请求之前收集这些详细信息。
账单地址: 账单地址始终是在 Click to Pay 交互过程中从付款人处收集。
3DS 支付验证 (3DS): 如果您已配置 3DS,Hosted Checkout 会在 Click to Pay 交互后自动执行 3DS 身份验证。
INITIATE CHECKOUT
请求中的重要字段: 如果可能,请将下表中的字段添加到您的请求中。
表: INITIATE CHECKOUT 请求中的重要 Click to Pay 字段
字段
说明
必需
interaction.country
对于 DCF 组件,由交互国家/地区确定在 Click to Pay 交互期间向付款人呈现的国家/地区特定内容,如条款和条件。 默认使用在网关中根据您的商家配置文件配置的值。 如果您想要覆盖此交互在商家配置文件中的值,将此字段添加到您的请求中。
可选
interaction.locale
对于 DCF 组件,交互区域设置确定显示语言。 默认情况下,使用付款人浏览器中配置的语言。 如果付款人的语言无法确定或不受支持,将使用 en_US。 如果您想覆盖该值,请将此字段添加到您的请求中。 目前,支持的语言包括英国英语 (en_UK)、西班牙语 (es_ES)、加拿大法语 (fr_CA)、巴西葡萄牙语 (pt_BR) 和港式中文 (zh_HK)。
可选
merchant.name
提供您的交易名称,如付款人已知的名称。 此名称可能会在 Click to Pay 交互过程中显示。
必需
merchant.url
提供付款人正在使用的网站的 URL。 此 URL 可能会在 Click to Pay 交互过程中显示。
必需
customer.email
Click to Pay 交互过程中始终会收集付款人的电子邮件地址。 如果您已经知道付款人的电子邮件地址,将 customer.email 字段添加到您的请求中,以允许付款人在 Click to Pay 交互期间绕过输入电子邮件地址的步骤。
必需
Hosted Session
如果您在自己的付款页上使用 Hosted Session 实现方法,将通过 Click to Pay SDK 和 JavaScript (JS) API 支持 Click to Pay“嵌入式体验”。 从 API v62 开始,网关支持 Mastercard、Visa 和 American Express 卡使用嵌入式体验。
如果您允许付款人在 Hosted Session 集成中使用 Click to Pay,必须支持三个不同的付款人提交付款场景:
图: 新用户流
图: “通过 cookie 识别返回用户”流
图: “通过电子邮件识别返回用户”流
测试方法
下表描述了支持的测试设置。
表: 支持的测试设置
上述测试卡可能无法执行
3DS ,或者无法测试付款流的最终付款处理步骤。 在这种情况下,使用为 3DS 提供的标准测试说明或适用的集成方法单独测试这些功能。
静态测试
为使用 Click to Pay 完成与网关的集成后,可以使用测试商家配置文件(即您的商家 ID,前缀为 TEST)进行测试。 使用测试商家配置文件时,网关会为 Click to Pay 交互提供模拟器。 Click to Pay 模拟器使用一组无法修改的预定义付款详细信息。 根据预定义的付款详细信息,您可以触发和测试不同的场景,如下所述。
下表的第二列指示付款人在 Click to Pay 交互过程中选择的 FPAN 的后四位数字。 要触发场景,在付款人的 Click to Pay 交互过程中选择模拟器上的相应 FPAN。
场景 1: Click to Pay 返回网络令牌和完整密文
场景 2: Click to Pay 返回网络令牌和动态 CSC
组织
FPAN 的后 4 位数字
SRC 关联 ID
UPDATE SESSION FROM WALLET 操作的响应
AUTHORIZE 或 PAY 操作的响应
Mastercard
xxx0008
261af700-e576-43bf-af92-bd0f6810e8fb
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=MASTERCARD
sourceOfFunds.provided.card.brand=MASTERCARD
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=520424xxxxxx5996-Token
sourceOfFunds.provided.card.expiry.month=11-Token Expiry
sourceOfFunds.provided.card.expiry.year=22-Token Expiry
sourceOfFunds.provided.card.securityCode=123-Dynamic CSC
sourceOfFunds.provided.card.maskedFpan=512345xxxxxx0008-FPAN
sourceOfFunds.provided.card.maskedFpanExpiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.maskedFpanExpiry.year=39-FPAN Expiry
送货地址
shipping.address.contact.firstName=Iggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=63368-7263
shipping.address.country=USA
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
账单地址
billing.address.city = Brisbane
billing.address.country = AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street
billing.address.street2 = Floor 14, CBD
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=MASTERCARD
sourceOfFunds.provided.card.brand=MASTERCARD
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=222300xxxxxx0007-FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
sourceOfFunds.provided.card.deviceSpecificNumber=520424xxxxxx5996-Token
sourceOfFunds.provided.card.deviceSpecificExpiry.month= 11-Token Expiry
sourceOfFunds.provided.card.deviceSpecificExpiry.year= 22-Token Expiry
送货地址
shipping.address.contact.firstName=Iggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd, O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=63368-7263
shipping.address.country=USA
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
账单地址
billing.address.city = Brisbane
billing.address.country = AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street, Floor 14, CBD
Visa
xxx3333
12345671-visaDTVV-expiry1232-colShiptrue
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=VISA
sourceOfFunds.provided.card.brand=VISA
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=453224xxxxxx4198-Token
sourceOfFunds.provided.card.expiry.month=8-Token Expiry
sourceOfFunds.provided.card.expiry.year=22-Token Expiry
sourceOfFunds.provided.card.nameOnCard=Mr. John Smith
sourceOfFunds.provided.card.securityCode=123-Dynamic CSC
sourceOfFunds.provided.card.devicePayment.3DSecure.eciIndicator=07
sourceOfFunds.card.maskedFpan=444411xxxxxx3333-FPAN
sourceOfFunds.provided.card.maskedFpanExpiry.month=12-FPAN Expiry
sourceOfFunds.provided.card.maskedFpanExpiry.year=32-FPAN Expiry
送货地址
shipping.address.contact.firstName=Tony
shipping.address.contact.lastName=Tyre
shipping.address.street=Level 42
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=4000
shipping.address.country=AUS
客户详细信息
customer.email=emulator@tnsi.com
customer.firstName=Mr.John Smith
customer.lastName=John
customer.mobilePhone=+61 0444111222
customer.phone=+61 0444111222
账单地址
billing.address.city = Brisbane
billing.address.country=AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street
billing.address.street2=Floor 21
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=VISA
sourceOfFunds.provided.card.brand=VISA
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=444411xxxxxx3333-FPAN Expiry
sourceOfFunds.provided.card.expiry.month=12-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=32-FPAN Expiry
sourceOfFunds.provoded.card.nameOnCard=Mr. John Smith
sourceOfFunds.provided.card.deviceSpecificNumber=520424xxxxxx5996-Token
sourceOfFunds.provided.card.deviceSpecificExpiry.month= 8-Token Expiry
sourceOfFunds.provided.card.deviceSpecificExpiry.year= 22-Token Expiry
送货地址
shipping.address.contact.firstName=tony
shipping.address.contact.lastName=tyre
sshipping.address.street=Level 42, 700 Somewhere Street
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=63368-7263
shipping.address.country=AUS
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
customer.phone=+61 0444111222
账单地址
billing.address.city = Brisbane
billing.address.country=AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street, Floor 14, CBD
American Express
xxx0017
4c26bae3-0638-4766-9539-58ae12844333
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=AMEX
sourceOfFunds.provided.card.brand=AMEX
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=453224xxxxxx4198-Token
sourceOfFunds.provided.card.expiry.month=12-Token Expiry
sourceOfFunds.provided.card.expiry.year=22-Token Expiry
sourceOfFunds.provided.card.securityCode=xxx-Dynamic CSC
sourceOfFunds.card.maskedFpan=444411xxxxxx3333-FPAN
sourceOfFunds.provided.card.maskedFpanExpiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.maskedFpanExpiry.year=39-FPAN Expiry
送货地址
shipping.address.contact.firstName=loggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=4000
shipping.address.country=USA
客户详细信息
customer.email=john.smith@example.com
customer.firstName=Mr.John Smith
customer.lastName=John
customer.mobilePhone=+61 0444111222
账单地址
billing.address.city = Brisbane
billing.address.country=AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street
billing.address.street2=Floor 14
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=AMES
sourceOfFunds.provided.card.brand=AMEX
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=444411xxxxxx3333-FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
sourceOfFunds.provided.card.deviceSpecificNumber=520424xxxxxx5996-Token
sourceOfFunds.provided.card.deviceSpecificExpiry.month=12-Token Expiry
sourceOfFunds.provided.card.deviceSpecificExpiry.year= 22-Token Expiry
送货地址
shipping.address.contact.firstName=laggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=63368-7263
shipping.address.country=AUS
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
账单地址
billing.address.city = Brisbane
billing.address.country = AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince=QLD
billing.address.street = 333 Ann Street, Floor 14, CBD
场景 3: Click to Pay 返回卡号和过期日期,不支持网络令牌化
组织
FPAN 的后 4 位数字
SRC 关联 ID
UPDATE SESSION FROM WALLET 操作的响应
AUTHORIZE 或 PAY 操作的响应
Mastercard
xxx0305
8e455e8b-4e52-46cf-a3da-83aa3cf9a76e
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=CARD
sourceOfFunds.provided.card.scheme=MASTERCARD
sourceOfFunds.provided.card.brand=MASTERCARD
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number =550690xxxxxx0305-FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
sourceOfFunds.provided.card.nameOnCard=John Smith
sourceOfFunds.provided.card.maskedFpan=550690xxxxxx0305-FPAN
sourceOfFunds.provided.card.maskedFpanExpiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.maskedFpanExpiry.year=39-FPAN Expiry
送货地址
shipping.address.contact.firstName=Iggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=63368-7263
shipping.address.country=USA
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
账单地址
billing.address.city = Brisbane
billing.address.country = AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street
billing.address.street2 = Floor 14, CBD
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=MASTERCARD
sourceOfFunds.provided.card.brand=MASTERCARD
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=550690xxxxxx0305-FPAN -FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
sourceOfFunds.provided.card.nameOnCard=John Smith
送货地址
shipping.address.contact.firstName=Iggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd, O'Fallon, extended address
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=63368-7263
shipping.address.country=USA
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
账单地址
billing.address.city = Brisbane
billing.address.country = AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street, Floor 14, CBD
Visa
xxx4821
12345671-visa1-expiry1232
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=CARD
sourceOfFunds.provided.card.scheme=VISA
sourceOfFunds.provided.card.brand=VISA
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=400552xxxxxx4821-FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
sourceOfFunds.provided.card.nameOnCard=Mr. John Smith
sourceOfFunds.card.maskedFpan=400552xxxxxx4821-FPAN
sourceOfFunds.provided.card.maskedFpanExpiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.maskedFpanExpiry.year=39-FPAN Expiry
客户详细信息
customer.email=emulator@tnsi.com
customer.firstName=Mr.John Smith
customer.lastName=John
customer.mobilePhone=+61 0444111222
customer.phone=+61 0444111222
账单地址
billing.address.city = Brisbane
billing.address.country=AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street
billing.address.street2=Floor 21
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=CARD
sourceOfFunds.provided.card.scheme=VISA
sourceOfFunds.provided.card.brand=VISA
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=400552xxxxxx4821-FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
sourceOfFunds.provoded.card.nameOnCard=Mr. John Smith
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
customer.phone=+61 0444111222
账单地址
billing.address.city = Brisbane
billing.address.country=AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 300 Adelaide Street, Floor 21
American Express
xxx4564
86584dcc-280f-4b57-8da4-49cd1067a2eb
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=CARD
sourceOfFunds.provided.card.scheme=AMEX
sourceOfFunds.provided.card.brand=AMEX
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=345678xxxxx4564-FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
sourceOfFunds.provided.card.nameOnCard=Mr. John Smith
sourceOfFunds.provided.card.maskedFpan=345678xxxxx4564-FPAN
sourceOfFunds.provided.card.maskedFpanExpiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.maskedFpanExpiry.year=39-FPAN Expiry
送货地址
shipping.address.contact.firstName=loggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=4000
shipping.address.country=USA
客户详细信息
customer.email=john.smith@example.com
customer.firstName=Mr.John Smith
customer.lastName=John
customer.mobilePhone=+61 0444111222
账单地址
billing.address.city = Brisbane
billing.address.country=AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince = QLD
billing.address.street = 333 Ann Street
billing.address.street2=Floor 14
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=CARD
sourceOfFunds.provided.card.scheme=AMEX
sourceOfFunds.provided.card.brand=AMEX
sourceOfFunds.provided.card.fundingMethod=CREDIT
sourceOfFunds.provided.card.number=345678xxxxx4564-FPAN
sourceOfFunds.provided.card.expiry.month=1-FPAN Expiry
sourceOfFunds.provided.card.expiry.year=39-FPAN Expiry
送货地址
shipping.address.contact.firstName=laggy
shipping.address.contact.lastName=Peck
shipping.address.street=2200 Mastercard Blvd
shipping.address.street2=O'Fallon, extended address
shipping.address.city=St. Louis
shipping.address.stateProvince=MO
shipping.address.postcode=63368-7263
shipping.address.country=AUS
客户详细信息
customer.email=john.smith@example.com
customer.firstName=John
customer.lastName=Smith
customer.mobilePhone=+1 2128881234
账单地址
billing.address.city = Brisbane
billing.address.country = AUS
billing.address.postcodeZip = 4000
billing.address.stateProvince=QLD
billing.address.street = 333 Ann Street, Floor 14, CBD
使用 3DS 支付验证测试 SRC
如果您的商家配置文件已启用 3DS 支付验证 (3DS) ,您可以使用下表中的内容触发无障碍流或质询流。
场景 4: 3DS2 质询流
组织
FPAN 的后 4 位数字
SRC 关联 ID
API 的响应
Mastercard
xxx0009
1049624e-cc67-45f6-bd5f-c625eb4c6cc1
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=MASTERCARD
sourceOfFunds.provided.card.brand=MASTERCARD
sourceOfFunds.provided.card.deviceSpecificNumber = 512345xxxxxx8212
sourceOfFunds.provided.card.deviceSpecificExpiry.month = 1
sourceOfFunds.provided.card.deviceSpecificExpiry.year = 39
sourceOfFunds.provided.card.number = 512345xxxxxx0009
sourceOfFunds.provided.card.expiry.month = 9
sourceOfFunds.provided.card.expiry.year = 55
Visa
xxx4222
12345671-SRC3DSChallenge-expiry1232-colShiptrue
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type = SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=VISA
sourceOfFunds.provided.card.brand=VISA
sourceOfFunds.provided.card.devicePayment.3DSecure.eciIndicator=07
sourceOfFunds.provided.card.devicePayment.3DSecure.onlinePaymentCryptogram=AgAAAAAABkwdwbyAkpPMQAAAAAA=
sourceOfFunds.provided.card.number = 453224xxxxxx4222
sourceOfFunds.provided.card.expiry.month = 12
ssourceOfFunds.provided.card.expiry.year = 32
American Express
xxx4570
20e051bc-bd25-46db-a7d3-d2944fbb05cf
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type = SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=AMEX
sourceOfFunds.provided.card.brand=AMEX
sourceOfFunds.provided.card.deviceSpecificNumber = 373224xxxxx9117
sourceOfFunds.provided.card.deviceSpecificExpiry.month = 5
sourceOfFunds.provided.card.deviceSpecificExpiry.year = 21
sourceOfFunds.provided.card.number = 373224xxxxxx4570
sourceOfFunds.provided.card.expiry.month = 1
ssourceOfFunds.provided.card.expiry.year = 39
场景 5: 3DS2 无障碍流
组织
FPAN 的后 4 位数字
SRC 关联 ID
API 的响应
Mastercard
0010
16e051bc-bd25-46db-a7d3-d2944fbb05cf
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type=SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=MASTERCARD
sourceOfFunds.provided.card.brand=MASTERCARD
sourceOfFunds.provided.card.deviceSpecificNumber = 512345xxxxxx8170
sourceOfFunds.provided.card.deviceSpecificExpiry.month = 1
sourceOfFunds.provided.card.deviceSpecificExpiry.year = 39
sourceOfFunds.provided.card.number = 512345xxxxxx0010
sourceOfFunds.provided.card.expiry.month = 8
sourceOfFunds.provided.card.expiry.year = 55
Visa
xxx4180
12345671-SRC3DSFrictionless-expiry1232-colShiptrue
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type = SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=VISA
sourceOfFunds.provided.card.brand=VISA
sourceOfFunds.provided.card.devicePayment.3DSecure.eciIndicator=07
sourceOfFunds.provided.card.devicePayment.3DSecure.onlinePaymentCryptogram=AgAAAAAABkwdwbyAkpPMQAAAAAA=
sourceOfFunds.provided.card.number = 453224xxxxxx4180
sourceOfFunds.provided.card.expiry.month = 12
ssourceOfFunds.provided.card.expiry.year = 32
American Express
4571
17e051bc-bd25-46db-a7d3-d2944fbb05cf
order.walletProvider=SECURE_REMOTE_COMMERCE
sourceOfFunds.type = SCHEME_TOKEN
sourceOfFunds.provided.card.scheme=AMEX
sourceOfFunds.provided.card.brand=AMEX
sourceOfFunds.provided.card.deviceSpecificNumber = 373224xxxxx9299
sourceOfFunds.provided.card.deviceSpecificExpiry.month = 5
sourceOfFunds.provided.card.deviceSpecificExpiry.year = 21
sourceOfFunds.provided.card.securityCode = xxx
sourceOfFunds.provided.card.number = 373224xxxxxx4570
sourceOfFunds.provided.card.expiry.month = 1
ssourceOfFunds.provided.card.expiry.year = 39
常见问题
作为付款人,我已将一张卡添加到我的 Click To Pay 电子钱包,为什么它没有出现在结账页面上?
付款人的 Click to Pay 个人资料本身可以包含任何受支持的卡组织的卡,但付款人只能在以下情况下使用这些卡来进行 Click to Pay 支付:
卡组织已在您的商家配置文件中激活,可以使用 Click to Pay。
您的商家配置文件已配置为使用此组织和交易货币处理卡。
是否可以通过 Click to Pay 进行端到端测试?
目前,Click to Pay 不支持端到端测试。 您可以在测试环境 (MTF) 中使用您的真实商家账户来仅测试此流程,一直到 Click to Pay 交互,或使用 Click to Pay 的实际交互流程沙盒进行测试。