> ## Documentation Index
> Fetch the complete documentation index at: https://doc.haipay.net/llms.txt
> Use this file to discover all available pages before exploring further.

# 端到端测试指南

> 通过修改订单状态和发送通知，验证支付结果与回调处理的端到端联调流程。

我们为商家提供全面的测试环境，供其在构建集成时使用。您可以在商户后台修改订单状态以及发送通知。

> [!WARNING]
>
> **修改订单状态只在测试环境有效，在正式环境中无效。**

## 1. 修改订单状态

入口：「交易记录」-「代收订单」/「代付订单」

![测试环境中修改订单状态的后台入口截图](https://mintcdn.com/haipay-3385f6e8/PA2rp5SNvgJiXM_G/images/%E4%BF%AE%E6%94%B9%E8%AE%A2%E5%8D%95%E7%8A%B6%E6%80%81%E6%8C%87%E5%BC%95-%E4%B8%AD%E6%96%87.png?fit=max\&auto=format\&n=PA2rp5SNvgJiXM_G\&q=85\&s=ab00ed27b3a7595609b8d7d45dc91d03)

![测试环境中选择订单并修改状态的操作截图](https://mintcdn.com/haipay-3385f6e8/PA2rp5SNvgJiXM_G/images/%E4%BF%AE%E6%94%B9%E8%AE%A2%E5%8D%95%E7%8A%B6%E6%80%81%E6%8C%87%E5%BC%952-%E4%B8%AD%E6%96%87.png?fit=max\&auto=format\&n=PA2rp5SNvgJiXM_G\&q=85\&s=91bf9d8d159ec0d3a8cdae21a1d6a2d8)

## 2. 发送通知

入口：「交易记录」-「代收订单」/「代付订单」

![测试环境中手动发送通知给商户的后台操作截图](https://mintcdn.com/haipay-3385f6e8/PA2rp5SNvgJiXM_G/images/%E6%89%8B%E5%8A%A8%E9%80%9A%E7%9F%A5%E5%95%86%E6%88%B7%E6%8C%87%E5%BC%95-%E4%B8%AD%E6%96%87.png?fit=max\&auto=format\&n=PA2rp5SNvgJiXM_G\&q=85\&s=e185ceb5aee3527cfc46d41846caf22f)

## 相关主题

* [HaiPay 上线清单](https://doc.haipay.net/zh/history/V20260628/testing/go-live-checklist.md)
* [HaiPay 接入流程指南](https://doc.haipay.net/zh/history/V20260628/get-started/integration-process.md)
* [HaiPay 常见问题与排查](https://doc.haipay.net/zh/history/V20260628/resources/faq.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.