Translation disclaimer

Documentation is written in English and subsequently translated. This page, therefore, might not have the most up-to-date content. If any questions arise relating to the accuracy of the translated content, please refer to the English version of the page.

Menu

测试 Access Worldpay Token 交易

您必须执行以下两个测试之一或全部,然后才能使用账户更新器。您计划提交的信息决定了应该完成哪些测试:

若要使用 Access Worldpay Token 数据测试交易,请参见 Token 测试数据表,并执行以下步骤:

  1. 使用表中的数据元素列中的值为每个 orderId(允许您的实施顾问跟踪测试的 XML 数据元素)提交请求。

  2. 验证响应值是否与表的关键响应元素中显示的值相匹配。匹配的响应表示账户更新器请求已采用正确的格式。

    为了加快测试进程,Pre-Live 环境每小时都会关闭会话并生成响应文件。如果在同一天提交多个请求文件,系统会在同一天生成多个响应文件。

    注释:一旦您开始在生产环境中处理,响应文件会包含 Visa、MasterCard 和 Discover 信息。每天,您的每个 merchantId 都会收到一个完成响应文件。在生产环境中,用新的过期日期更新现有 Token,并针对 PAN 变化创建新的 Token。在新的或已更新的 Token 上,诸如 cardHolderNamedescriptionnamespacebillingAddress 等全部现有数据元素均保持不变。

Token 测试数据

orderId提供的数据元素 (Token URL)主要响应数据
30<tokenURL>https://access.worldpay.test:8167/tokens/
NTE5NDU2MDAxMjM0MTIzNA==</tokenURL>
确认响应:

<response>000</response>
<message>Approved</message>

AU 文件响应:

<response>500</response>
<message>The account number was changed</message>
<tokenURL>https://access.worldpay.test:8167/tokens/
NDQ1NzAxMDAwMDAwMDAwOQ==</tokenURL>
<type>VI</type>
<bin>445701</bin>
<expDate>0150</expDate>
<tokenURL>https://access.worldpay.test:8167/tokens/
NTE5NDU2MDAxMjM0MTIzNA==</tokenURL>
<type>MC</type>
<bin>519456</bin>
<expDate>1250</expDate>
31<tokenURL>https://access.worldpay.test:8167/tokens/
NTQzNTEwMTIzNDUxMDE5Ng==</tokenURL>
确认响应:

<response>000</response>
<message>Approved</message>

AU 文件响应:

<response>501</response>
<message>The account was closed</message>
<tokenURL>https://access.worldpay.test:8167/tokens/
NTQzNTEwMTIzNDUxMDE5Ng==</tokenURL>
32<tokenURL>https://access.worldpay.test:8167/tokens/
NTExMjAxMDAwMDAwMDAwMw==</tokenURL>
确认响应:

<response>000</response>
<message>Approved</message>

AU 文件响应:

<response>502</response>
<message>The expiration date was changed</message>
<tokenURL>https://access.worldpay.test:8167/tokens/
NTExMjAxMDAwMDAwMDAwMw==</tokenURL>
<type>MC</type>
<bin>511201</bin>
<expDate>0150</expDate>
<tokenURL>https://access.worldpay.test:8167/tokens/
NTExMjAxMDAwMDAwMDAwMw==</tokenURL>
<type>MC</type>
<bin>511201</bin>
<expDate>0250</expDate>
33<tokenURL>https://access.worldpay.test:8167/tokens/
NTExMjAwMjIwMDAwMDAwOA==</tokenURL>
确认响应:

<response>000</response>
<message>Approved</approved>

AU 文件响应:

<response>506</response>
<message>No changes found</message>
34<tokenURL>https://access.worldpay.test:8167/tokens/
NTExMjAwMDIwMDAwMDAwMg==</tokenURL>
确认响应:

<response>000</response>
<message>Approved</message>

AU 文件响应:

<response>505</response>
<message>No match found</message>
35<tokenURL>https://access.worldpay.test:8167/tokens/
NTExMjAxMDE0MDAwMDAwNA==</tokenURL>
确认响应:

<response>000</response>
<message>Approved</message>

AU 文件响应:

<response>503</respoonse
<message>The issuing bank does not participate in the update program</message>
36<tokenURL>https://access.worldpay.test:8167/tokens/
NDQ1NzAxMDE0MDAwMDE0MQ==</tokenURL>
确认响应:

<response>000</response>
<message>Approved</message>

AU 文件响应:

<response>504</response>
<message>Contact the cardholder for updated information</message>
<tokenURL>https://access.worldpay.test:8167/tokens/
NDQ1NzAxMDE0MDAwMDE0MQ==</type>
37<tokenURL>https://access.worldpay.test:8167/tokens/
NDAwMDAwMDAwMDAwMDAwMg==</tokenURL>
确认响应:

<response>823</response>
<message>Token was invalid</message>

后续步骤

请求与响应