问题标签 [beanstream]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
583 浏览

c# - 401 Authentication issue with BeanStream Payment Gateway API

I have been trying to integrate BeanStream payment gateway with my product from last three days. But unfortunately I am getting 401 authentication error every time. I have performed following steps.

  • 1) Created a test account.
  • 2) Generated API Pass Code from Configuration -> Payment Profile Configuration -> Security Settings.
  • 3) Got merchant Id from top section.
  • 4) Created an HttpWeb request using the sample code provided on BeanStream developer portal. Below is the code for that.

    /li>

Any help?

0 投票
2 回答
101 浏览

php - 如何在 wordpress 或 php 中集成 beanstream

我的网站在 wordpress 中。我想集成 beanstream。我没有得到任何结果。如果我用 php 代码得到结果,那对我来说也可以。

谢谢。

0 投票
1 回答
68 浏览

beanstream - Beanstream 错误类型值

根据他们的API 文档,字段errorType可以返回N,SU. 我假设N=None因为成功后返回。

S 和 U 是什么意思?

0 投票
2 回答
56 浏览

php - PHP 数组元素

我正在尝试处理信用卡(Bambora/Beanstream),当出现错误时,从异常数组中取出响应代码和消息。这是我的代码:

错误异常结果 ($e) 开头为:

Beanstream\ApiException 对象 ( [_message:protected] => 无效卡号 [_code:protected] => 52 [message:protected] => 无效卡号 [string:Exception:private] => [code:protected] => 52 ...

我只是想将“消息”和“代码”存储到变量中。谢谢你。