dongtang3155 2019-03-11 04:55
浏览 52

Authorize.net接受js - 自己的付款表单在localhost中不起作用

I have integrated authorize.net accept js payment option on my local magento site.

First of all, in my local site, I have integrated the hosted payment form (predefined payment form). It is working fine. It returns a successful transaction message.

And now I'm gonna work with my own payment form, it requires https connection. I just followed this doc. And I have used the same example that was mentioned in this doc.

I'm working on my local server. Once these were working fine means only, I can push to live server.

So, now my doubt is - why hosted payment form working in a local server ( unsecure connection - http) and why my custom form is not working in my local server?

It returns E_WC_02 error while using a custom payment form. I want to check this custom payment form in my local server also.

Thanks in advance.

  • 写回答

1条回答 默认 最新

  • doudi2431 2019-03-11 06:59
    关注

    I have currently solved this issue by using ngrok. I hope this will be helpful to others. Recently I got this solution.

    After installing this ngrok in my local server and then I have changed my web/secure/base_url and web/unsecure/base_url in core_config_data table. i.e, to replace a http://localhost to http://2b45c5ab.ngrok.io and https://localhost to https://2b45c5ab.ngrok.io

    Thanks.

    评论

报告相同问题?

悬赏问题

  • ¥15 基于双目测规则物体尺寸
  • ¥15 wegame打不开英雄联盟
  • ¥15 公司的电脑,win10系统自带远程协助,访问家里个人电脑,提示出现内部错误,各种常规的设置都已经尝试,感觉公司对此功能进行了限制(我们是集团公司)
  • ¥15 救!ENVI5.6深度学习初始化模型报错怎么办?
  • ¥30 eclipse开启服务后,网页无法打开
  • ¥30 雷达辐射源信号参考模型
  • ¥15 html+css+js如何实现这样子的效果?
  • ¥15 STM32单片机自主设计
  • ¥15 如何在node.js中或者java中给wav格式的音频编码成sil格式呢
  • ¥15 不小心不正规的开发公司导致不给我们y码,