简体   繁体   English

square payments api v2 giving payment process 404错误

[英]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.

相关问题 区块链API v2:发送付款无效 - Blockchain api v2: Send payment not working PayPal:错误:“访问https://api.sandbox.paypal.com/v1/payments/payment时的HTTP响应代码400。” - PayPal: Getting error: “Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment.” Magento API v2 PHP错误 - Magento API v2 PHP error 访问 https://api.paypal.com/v1/payments/payment/ 时得到 Http 响应代码 400 - Got Http response code 400 when accessing https://api.paypal.com/v1/payments/payment/ 如何解决此错误“访问 https://api.sandbox.paypal.com/v1/payments/payment 时收到 Http 响应代码 400。 ” - How do I solve this error “Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment. ” 致电“ / v1 /付款/付款”时永久获得“ INTERNAL_SERVICE_ERROR” - Permamently get “INTERNAL_SERVICE_ERROR” When calling “/v1/payments/payment” 404当我使用php-client-forge autodesk api时连接到API(https://developer.api.autodesk.com/modelderivative/v2/designdata/job)时出错 - 404 Error connecting to the API (https://developer.api.autodesk.com/modelderivative/v2/designdata/job) when i use php-client-forge autodesk api Mailchimp API v2 - Mailchimp API v2 How to combine PayPal Smart Payment Button with REST API SDK for PHP V2? - How to combine PayPal Smart Payment Button with REST API SDK for PHP V2? 为什么LinkedIn v2 Share API在任何v2 / shares端点上都没有提供足够的权限错误? - Why does LinkedIn v2 Share API give not enough permissions error on any v2/shares endpoint?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM