[英]When using pin payment gateway , using charge api showing error Card tokens can only be used once
I am getting the following error when I use this API : 使用此API时出现以下错误:
{"error":"token_already_used","error_description":"Token already used. Card tokens can only be used once, to create a charge or assign a card to a customer"} {“错误”:“ token_already_used”,“错误描述”:“令牌已使用。卡令牌只能使用一次,以创建费用或向客户分配卡”}
I have a card token card_4KDerBMsGjr0Rns3rNfwCQresult
which I have used in the charge API for making payments. 我有一个卡令牌card_4KDerBMsGjr0Rns3rNfwCQresult
,已在收费API中使用该卡进行付款。
My account is in test mode, but when I check the dashboard page of my account in the charges page it shows that the credit card has been charged, so why am I not getting any successful response? 我的帐户处于测试模式,但是当我在收费页面中查看帐户的信息中心页面时,它显示信用卡已被收费,那么为什么我没有得到成功的答复?
I have followed the docs from the website only. 我只关注网站上的文档 。 I am novice, using this payment gateway for the first time. 我是新手,第一次使用此付款网关。
I have fixed out this problem of mine . 我已经解决了我的这个问题。 I called exec() function twice using curl , that was the reason this error was shown 我使用curl两次调用了exec()函数,这就是显示此错误的原因
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.