【问题标题】:Bitcoin Payment Gateway in phpphp中的比特币支付网关
【发布时间】:2018-04-11 02:47:42
【问题描述】:

我想在 PHP 中集成比特币支付网关 我在这里创建了帐户 -> https://gourl.io/info/memberarea/My_Account.html 我使用了这个 github API -> https://github.com/cryptoapi/Payment-Gateway

我的脚本发送的这个请求 -> https://coins.gourl.io/result.php?b/17104/p/17104AAs3ew6Bitcoin77BTCPUBpwgOMgxMq81Fn9nMCnWTGrm/u/99346995__7958333d57/o/invoice000383/e/UW1gcHtnY20%3D/l/en/i/AAwHFAx4e2h7eXx8bGs%3D/h/948f4a7a4972e9cf4a8d2fe730922fad/z/654116&_=1509347729277

我收到了这个回复

{"status":"payment_not_received","err":"","public_key":"17104AAs3ew6Bitcoin77BTCPUBpwgOMgxMq81Fn9nMCnWTGrm"
,"box":17104,"boxtype":"captchabox","order":"invoice000383","user":"99346995__7958333d57","userformat"
:"","usercountry":"","period":"","amount":0,"amountusd":0,"coinlabel":"","coinname":"","addr":"","tx"
:"","confirmed":0,"timestamp":"","date":"","datetime":""}

【问题讨论】:

  • 我不是比特币专家,但17104AAs3ew6Bitcoin77BTCPUBpwgOMgxMq81Fn9nMCnWTGrm 对我来说似乎不是一个有效的公钥!
  • 我更喜欢payb.tc 这只是一小部分。无需额外费用。

标签: php payment-gateway bitcoin


【解决方案1】:

17104AAs3ew6Bitcoin77BTCPUBpwgOMgxMq81Fn9nMCnWTGrm

这个 gourl.io 网关密钥,不是比特币密钥。

这里是 php 示例(比特币 json)-https://github.com/cryptoapi/Payment-Gateway/blob/master/Examples/json.php

【讨论】:

    猜你喜欢
    • 2017-10-05
    • 1970-01-01
    • 2016-09-23
    • 2014-11-26
    • 2013-03-01
    • 1970-01-01
    • 2016-08-07
    • 2012-02-19
    • 2012-01-25
    相关资源
    最近更新 更多