【发布时间】:2016-07-02 11:22:14
【问题描述】:
基于Paypal tutorial,这是他们提供的用于测试 IPN 的表格:
<form target="_new" method="post" action="https://www.YourDomain.com/Path/YourIPNHandler.php">
<input type="hidden" name="SomePayPalVar" value="SomeValue1"/>
<input type="hidden" name="SomeOtherPPVar" value="SomeValue2"/>
<!-- code for other variables to be tested ... -->
<input type="submit"/>
</form>
我在server/routing.js 中获得了我的IPN 侦听器代码,并使用了铁路由器并指定了/ipn 的路径。这是它的代码
Router.map(function () {
this.route('ipn', {
path: '/ipn',
where: 'server',
所以我现在的问题是,我应该在表单中输入什么网址而不是“https://www.YourDomain.com/Path/YourIPNHandler.php”网址?因为我在我的本地机器“localhost:3000”中测试它
【问题讨论】:
-
@Sindis 你读过我的问题了吗?它是不同的,我正在使用该问题中的链接,因为是提出该问题的人,谢谢:)
标签: meteor paypal paypal-ipn