【问题标题】:Authorize.net payment gateway not working in WooCommerceAuthorize.net 支付网关在 WooCommerce 中不起作用
【发布时间】:2023-03-24 11:00:01
【问题描述】:

我正在开发 woocommerce 项目。我为此使用了 Authorize.net 支付网关插件。

付款和下订单工作正常。但在付款后,该网址不会重定向到成功页面。 我想在付款完成后显示订单信息。可能是我的 x_relay_url 错误。

我不知道如何给出那个。请告诉我一个示例 url 并为我解决这个问题...

付款完成后显示如下信息..

                               An error occurred while trying to report this 
  transaction to the merchant. An e-mail has been sent to the merchant informing them  
 of the    error. The following is the result of the attempt to charge your credit card. 

  This transaction has been approved.
 It is advisable for you to contact the merchant to verify that you will receive the  
   product or service.

注意:它处于测试模式。

感谢和问候..

【问题讨论】:

    标签: php authorize.net


    【解决方案1】:

    当支付网关无法 POST 到您配置的中继响应 URL 时,通常会发生此错误。由于 POST 来自 Authorize.Net,因此 URL 必须是公开的。

    此外,如果您在沙盒中进行测试,则不应在测试模式下发送交易。以测试模式提交的交易只确认API Login和Transaction Key是否正确,并返回OK,但并不实际处理和存储交易。

    【讨论】:

      猜你喜欢
      • 2014-05-19
      • 2021-01-02
      • 2018-11-09
      • 1970-01-01
      • 1970-01-01
      • 2014-11-30
      • 2011-12-20
      • 2016-09-21
      • 2016-11-22
      相关资源
      最近更新 更多