信用卡收据回复 [英] credit card reciept response

查看:114
本文介绍了信用卡收据回复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过authorize.net设置信用卡付款,并且他们有一个选项,一旦完成就将POST字符串发送回我的网站。我不是

肯定如何继续。他们没有太多关于此的内容,他们的技术支持似乎认为我已经掌握了一般性的想法。说我可能

已经让我的托管服务器设置了接收POST数据的权限

方式。


让我粘贴他们的解释:

-----------

网关响应API

本节介绍网关返回的响应提交

交易进行处理。对通过SIM提交的

交易的网关响应是向消费者显示的
的收据页面或者商家指定的站点的POST字符串。 />
然后,商家可以解析POST字符串,自定义响应,并将
提交回网关。然后网关将响应

转发给客户的浏览器。


x_response_code

表示交易结果:

1 =已批准

2 =已拒绝

3 =错误


x_trans_id

这个数字标识系统中的交易,可用于

稍后提交此交易的修改,例如

无效,贷记或捕获交易。


x_invoice_num

这是商家提供的发票号码


等。 。

--------


最好我想我会重定向到我的服务器而我是

猜测我会用这样的东西:


if(isset($ _ REQUEST [''x_response_code''])){

//然后敲定订单,从库存中扣除

//并生成收据


我对此不太满意在我的网站上设置页面的想法

,允许任何外部服务器发送POST数据&检索客户的订单

详细信息。我想我不理解这一切。我确实需要知道他们的信用卡是否已被接受继续处理我的

结束时的订单。我不想更新库存和他们最终得到了他们的卡被拒绝或放弃了。

I''m setting up credit card payment through authorize.net and they have
the option to send a POST string back to my site once complete. I''m not
sure how to proceed. They don''t have much to read about this, their tech
support seemed to think I''ve got the general idea though & said I might
have have my hosting server set up permissions to recieve POST data that
way.

Let me paste their explanation:
-----------
Gateway Response API
This section describes the response returned by the gateway when a
transaction is submitted for processing. The gateway response to a
transaction submitted via SIM is either a Receipt Page that is displayed
to the consumer or a POST string to a site designated by the merchant.
The merchant can then parse the POST string, customize a response, and
submit it back to the gateway. The gateway will then relay the response
to the customer?s browser.

x_response_code
Indicates the result of the transaction:
1 = Approved
2 = Declined
3 = Error

x_trans_id
This number identifies the transaction in the system and can be used to
submit a modification of this transaction at a later time, such as
voiding, crediting or capturing the transaction.

x_invoice_num
This is the merchant''s supplied invoice number

etc...
--------

So best I figure I''m going to get a redirect to my server And I''m
guessing I''d use something like this:

if (isset($_REQUEST[''x_response_code''])) {
//then finalize the order, subtract from inventory
// and generate a reciept

And I''m not so comfortable with the idea of setting up a page on my site
that lets any external server send POST data & retrieve customer''s order
details. I think I''m not understanding all this. I do need to know if
their credit card was accepted to continue processing the order on my
end though. I don''t want to update the inventory & they end up getting
their card rejected or give up.

推荐答案

_REQUEST [''x_response_code''])) {

//然后敲定订单,从库存中扣除

//并生成收据


我是在我的网站上设置页面的想法不太舒服

允许任何外部服务器发送POST数据&检索客户的订单

详细信息。我想我不理解这一切。我确实需要知道他们的信用卡是否已被接受继续处理我的

结束时的订单。我不想更新库存和他们最终得到了他们的卡被拒绝或放弃。
_REQUEST[''x_response_code''])) {
//then finalize the order, subtract from inventory
// and generate a reciept

And I''m not so comfortable with the idea of setting up a page on my site
that lets any external server send POST data & retrieve customer''s order
details. I think I''m not understanding all this. I do need to know if
their credit card was accepted to continue processing the order on my
end though. I don''t want to update the inventory & they end up getting
their card rejected or give up.


Michael Vilain写道:
Michael Vilain wrote:

我用php和perl的组合设置信用卡收费。它是在共享服务器上运行的
,所以我不得不使用带有

的受保护perl脚本,例如脚本中的密码和散列键等常量。该脚本是由我的帐户的UID下的CGIwrap运行的,而不是作为网络服务器的

UID。


Perl似乎适合向authorize.net提交SSL提交,接收,

并处理他们的回复。我没有任何问题让它与

他们的优秀文档一起工作。我没有看到让PHP做什么

它和Perl CPAN模块模拟浏览器客户端工作没有

问题。
I setup credit card charging with a combination of php and perl. It''s
running on a shared server, so I had to use a protected perl script with
the constants like passwords and hash keys in the script. The script is
run by CGIwrap under my account''s UID rather than as the web server''s
UID.

Perl seems to be suited to do SSL submissions to authorize.net, receive,
and process their reply. I had no problems getting it to work with
their excellent documentation. I didn''t see away of getting PHP to do
it and the Perl CPAN modules to emulate a browser client worked without
problems.



感谢您的输入。

Yikes,嗯,也许我会看看perl文档,没有什么是

在php示例编码中解释。我对perl一无所知。呃。


PS我刚刚启用POST方法运行它&没有重定向。

Thanks for the input.
Yikes, hmmm, maybe I''ll look at the perl documentation, nothing is
explained in the php sample coding. I know nothing about perl. Ugh.

PS I just ran it with the POST method enabled & no redirect occured.


Paul Furman写道:
Paul Furman wrote:

>>我'我正在通过authorize.net设置信用卡付款,他们可以选择在完成后将POST字符串发送回我的网站。我不确定如何继续。他们没有太多关于这一点的内容,他们的技术支持似乎认为我已经有了一般的想法&说我可能必须让我的托管服务器设置权限来接收POST数据。

让我粘贴他们的解释:
----- ------
网关响应API
本节描述了提交
事务处理时网关返回的响应。网关对通过SIM提交的交易的响应是对消费者显示的收据页面或者商家指定的站点的POST字符串。
然后商家可以解析POST字符串,自定义响应,并将其提交回网关。然后网关将响应转发给customer1s浏览器。

x_response_code
表示交易结果:
1 =已批准
2 =拒绝
3 =错误

x_trans_id
此编号标识系统中的事务,可用于稍后提交此事务的修改,例如
取消,记入或捕获交易。

x_invoice_num
这是商家提供的发票编号

等... --------

最好我想我要重定向到我的服务器而且我在猜测我会用类似的东西这个:

if(isset(
>>I''m setting up credit card payment through authorize.net and they have
the option to send a POST string back to my site once complete. I''m not
sure how to proceed. They don''t have much to read about this, their tech
support seemed to think I''ve got the general idea though & said I might
have to have my hosting server set up permissions to recieve POST data
that way.

Let me paste their explanation:
-----------
Gateway Response API
This section describes the response returned by the gateway when a
transaction is submitted for processing. The gateway response to a
transaction submitted via SIM is either a Receipt Page that is displayed
to the consumer or a POST string to a site designated by the merchant.
The merchant can then parse the POST string, customize a response, and
submit it back to the gateway. The gateway will then relay the response
to the customer1s browser.

x_response_code
Indicates the result of the transaction:
1 = Approved
2 = Declined
3 = Error

x_trans_id
This number identifies the transaction in the system and can be used to
submit a modification of this transaction at a later time, such as
voiding, crediting or capturing the transaction.

x_invoice_num
This is the merchant''s supplied invoice number

etc...
--------

So best I figure I''m going to get a redirect to my server And I''m
guessing I''d use something like this:

if (isset(


_REQUEST [''x_response_code''])){
//然后完成订单,从库存中减去
//并生成一个收据

我对在我的网站上设置页面的想法不太满意
让任何外部服务器发送POST数据和放大器;检索客户的订单
详细信息。我想我不理解这一切。我确实需要知道他们的信用卡是否被接受继续在我的
端处理订单。我不想更新库存和他们最终得到了他们的卡被拒绝或放弃。
_REQUEST[''x_response_code''])) {
//then finalize the order, subtract from inventory
// and generate a reciept

And I''m not so comfortable with the idea of setting up a page on my site
that lets any external server send POST data & retrieve customer''s order
details. I think I''m not understanding all this. I do need to know if
their credit card was accepted to continue processing the order on my
end though. I don''t want to update the inventory & they end up getting
their card rejected or give up.



这篇关于信用卡收据回复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆