跳转到主要内容

搜索

输入关键词或问题以搜索帮助文章。

读者无法付款,或支付网关无法连接怎么办?

本篇要点

位置: Settings

打开此页面: admin.<your-site>/settings(将 <your-site> 替换为您的网站地址)

检查 1:测试模式还是正式模式?

  • 测试模式使用测试密钥。不会发生真实的资金交易。屏幕会提示:"Test mode: readers can’t buy until you add live keys. Test payments here never give readers access."
  • 生产模式处理真实付款。您必须先发布条款、退款和联系方式页面。

检查 2:密钥

两种模式下的密钥 ID 开头字母不同。对于 Razorpay:测试模式为 rzp_test_,正式模式为 rzp_live_。Stripe 可发布密钥以 pk_test_ 或 pk_live_ 开头。PayPal 连接需要 Client ID、Secret 以及 Webhook ID。

提示信息解决方法
"Razorpay didn’t accept these keys. Check that the key id and secret are from the same mode."在同一个控制台中复制处于相同模式下的两个密钥。
"This is a live key but you chose Test mode. Switch the mode or paste a test key."确保模式与密钥相匹配。
"This is a test key but you chose Live mode. Switch the mode or paste a live key."同上。
"Paste the key secret. Razorpay shows it only once, when you create the key."在控制台中生成一个新密钥,并立即复制该 secret。
"Use a different webhook secret for test and live."分别创建两个不同的 secret。
"Publish your Terms, Refund and Contact pages before going live."发布这些页面,然后再切换到正式模式。

检查 3:Webhook

Webhook 会在付款完成后通知您的网站。如果没有配置它,订单状态将一直保持为未支付。

  1. 在连接卡片上,复制 Webhook URL。
  2. 在您的支付网关控制台中,将其添加为 Webhook。勾选卡片上列出的所有事件。
  3. 在网关中输入一个 Webhook 密钥,并将相同的密钥粘贴到您的连接中。
  4. 保存。

检查 4:发起测试付款

在测试模式下,点击连接卡片上的测试付款按钮。网关确认后,订单会显示为已支付。如果测试结账页面没有打开,请允许管理后台弹出窗口。如果支付失败,您会看到提示:"The test payment didn’t go through. Check the connection and try again."

读者可能看到的提示信息

  • "Payments aren’t set up on this site yet." 未连接任何支付网关。
  • "Live payments aren’t switched on for this site yet. Use test mode for now." 尚未完成正式环境的配置。
  • "The payment gateway didn’t answer. Nothing was charged or refunded. Try again in a minute." 支付网关正忙。请稍后再试。
  • "This checkout has expired. Start again." 请重新发起结账。
  • "This payment method isn’t offered here. Choose another one." 请检查您的网关支持国家/地区设置。
  • "This payment gateway can’t take recurring payments." 请选择支持订阅的支付网关。
  • "This payment gateway is coming soon. Use Razorpay, Stripe or PayPal for now, or request it under Request a payment gateway."

请参阅错误提示信息:支付。

常见问题

常见问题

我应该使用哪种支付网关?

面向印度的读者,建议使用 Razorpay。面向美国、欧洲和英国,建议使用 Stripe。面向全球电子钱包用户,建议使用 PayPal。您可以将不同的国家/地区路由到对应的支付网关。

我应该在哪里输入 GST 详细信息?

在 商户与 GST 选项卡下输入。请参阅卖家与 GST。

相关内容

反馈

这篇内容对你有帮助吗?

其他语言版本

仍需帮助?