更改现有订阅上的IPN网址 [英] Change the IPN url on existing subscription

查看:62
本文介绍了更改现有订阅上的IPN网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们计划更改我们服务的域名.因此,我们需要为现有客户更新IPN-url.我已经尝试过搜索有关如何更改当前订阅的IPN网址的解决方案,但是我什么都找不到.

感谢您的帮助.

致以最诚挚的问候 托马斯

解决方案

我今天遇到了这个问题.

说您可以更改现有贝宝(Paypal)定期付款上的IPN URL的人是不正确的;您不能,只能更改IPN URL以用于将来的通知.

要解决此问题,我使用了Apache重写:

RewriteRule ^ sites/all/modules/civicrm/extern/ipn.php $ https ://example.org/wp-content/plugins/civicrm/civicrm/extern/ipn.php [R = 307,L]

魔术是R = 307. 307重定向指示必须将POST请求重新发送为POST.否则,您将丢失IPN数据.

we plan to change the domain name for our service. Therefore we need to update the IPN-url for our existing customers. I have tried googling a solution on how to change the IPN-url for current subscriptions, but I haven't been able to find anything.

Any help is appreciated.

best regards Thomas

解决方案

I ran into this problem today.

Folks who are saying that you can change the IPN URL on an existing Paypal recurring payment are incorrect; you can't, you can only change the IPN URL for future notifications.

To resolve this, I used an Apache rewrite:

RewriteRule ^sites/all/modules/civicrm/extern/ipn.php$ https://example.org/wp-content/plugins/civicrm/civicrm/extern/ipn.php [R=307,L]

The magic is the R=307. A 307 redirect indicates that a POST request must be resent as a POST. Otherwise you lose the IPN data.

这篇关于更改现有订阅上的IPN网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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