English 中文(简体)
授权.net PHP 会议
原标题:Authorize.net PHP Session Variables Being Erased

I am having an issue with transfering PHP session variables after a payment is processed by my payment gateway. I have a payment page hosted on my server which submits to an SSL page to be processed on another domain (authorize.net).

然后,付款门回转一个变量,以表明付款是否成功。 然而,在某些浏览器上,会议变量在域网后不会结转,因此,我可以更新数据库中的用户信息,以反映购买情况。 有什么原因?

最佳回答

You have two options:

  1. http://www.jconde.net/blog/all-about-authorize-nets-silent-post/“rel=“nofollow”>。 暂记员额是授权的。 相当于Palpal s IPN的净当量。 Silent 员额将使你能够从“背景”的每项交易中检索信息,从而可以相应地更新你的数据库。 在PHP中加以实施很容易做到。 (Disapper, I letterbreak articles)

  2. You can pass the session ID as a hidden field to the payment page and then when the user is redirected back to your site you can restart the session by passing it as a parameter to session_id() which will restart the session.

问题回答

暂无回答




相关问题
why the session in iis automatically log out?

I used iis6, and when i called a function Directory.delete(), the all the session relate this website will be logged out. and i debugged the website, i found no exception. any one have ideas on this ? ...

Check session from a view in CodeIgniter

What is the best way to check session from a view in CodeIgniter, it shows no way in their user guide, otherwise I will have to make two views on everything, which is kinda weird...still a newbie to ...

Can I get the size of a Session object in bytes in c#?

Is it possible to get the size(in bytes) of a Session object after storing something such as a datatable inside it? I want to get the size of a particular Session object, such as Session["table1"], ...

提供严格分类的出席会议物体

提供严格分类的与会机会的最佳方式是什么? 我正计划转而选择矩阵,这正在促使汇编者抱怨我的幻觉方案拟订方法......

PHP Session is not destroying after user logout

I m trying to create an authentication mechanism for my PHP Application and I m having difficulty destroying the session. I ve tried unsetting the authentication token which was previously set within ...

热门标签