[英]square payments api v2 giving payment process 404 error
i am trying to integrate square payments php api in my website, i am using this source i have followed all the steps but it gives me an error when i proceed to payment after inputting all the card details, the console shows /process payment 404 not found, like the one shown below我正在尝试在我的网站上整合 square payments php api,我正在使用这个来源,我已经按照所有步骤操作,但是当我输入所有卡详细信息后继续付款时,它给我一个错误,控制台显示/process payment 404 not找到了,如下图
the payment process file is already in the folder, only change i made from the source is that i used "composer install" instead of "composer.phar install" because that was not working.付款流程文件已经在文件夹中,我从源代码所做的唯一更改是我使用“composer install”而不是“composer.phar install”,因为那不起作用。
can anyone please help on what should be done?任何人都可以请帮助应该做什么?
Use HTTPS instead of HTTP like https://localhost/square3/php_payment.php使用 HTTPS 而不是 HTTP 像 https://localhost/square3/php_payment.php
i got a fix to this, there was a fault in the sqaure php api itself, i reached sqaure support, there was a variable that had wrong value on their side, the new and updated code can be found here我解决了这个问题,Square php api 本身出现故障,我得到了 sqaure 支持,他们这边有一个变量值错误,可以在这里找到新的和更新的代码
Follow the rest of the instructions as documented and it should work fine now.按照文档中说明的 rest 进行操作,现在应该可以正常工作了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.