为什么Paypal(Sandbox)没有返回交易ID? [英] Why Paypal(Sandbox) not returning transaction ID?
问题描述
我在测试模式(沙盒)中将Paypal集成到我的网站中。一切都很好。付款已经完成,但当我通过paypal返回我的网站回到网站链接时,它不会给出交易ID。
但是我想要返回该交易的所有细节,例如交易ID,金额等。
任何人都可以帮我这个。
谢谢。!!
I am Integrating Paypal in my web site in test mode (sandbox). Everything is working fine. Payment is done but when I return to my website back through paypal back to website link it doesen't give transaction id.
But i want to return all the details of that transaction such as Transaction Id, Amount etc.
Could anyone please help me for this.
Thank you.!!
推荐答案
我想IPN [ ^ ]将帮助您获取交易ID
。
转到文章的底部(部分: - 示例IPN消息和响应)。
I guess IPN[^] will help you to get theTransaction ID
.
Go to the bottom of the article (Section:- "A Sample IPN Message and Response").
IPN消息由描述事务的变量组成。这些变量包含有关您,您的客户以及交易本身详细信息。
有关交易的信息:
An IPN message consists of variables that describe the transaction. These variables contain information about you, your customer, and the details of the transaction itself.
Information about the transaction:
test_ipn = 1 Testing with the Sandbox
transaction_subject =
txn_id = 61E67681CH3238416 Keep this ID to avoid processing the
transaction twice
txn_type = express_checkout Type of transaction
另请参阅 PayPal上的 CodeProject 文章解释 IPN [ ^ ]
这篇关于为什么Paypal(Sandbox)没有返回交易ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!