贝宝订阅按钮 [英] Paypal subscription button
问题描述
背景
我建立一个网站,我需要使用某种形式的定期结算的付款方式。我的客户没有PayPal的网站付款专业,所以他决定用一个简单的订阅
按钮。
问题
这是所有的好和易于使用,但的我如何从贝宝收到通知时,这样的付款已的?我曾与贝宝之前的一些经验,并有一个字段 return_url
,将通过贝宝进行访问,通知网站,但检查他们的网站上的变量这一领域已经不存在或也许不适用于这种类型的按钮。
Problem
This is all nice and easy to use but how would I get a notification from Paypal when such a payment has been made? I had some experience with Paypal before and there was a field return_url
that would be accessed by Paypal to notify the website but checking the variables on their site this field does not exist anymore or perhaps not available with this type of button.
推荐答案
在创建订阅按钮,这时候你会发现,选项(在步骤3),所以要根据你的需要,你可以设定网址并获得IPN变量
when you create subscribe button that time you will find that option(in step 3) , so according your need you can set url and get ipn variable
第3步:自定义高级功能(可选)
Step 3: Customize advanced features (optional)
-
以客户到这个URL时,取消其结帐
Take customers to this URL when they cancel their checkout
http://yourwebsite/complete_registration.php?action=cancel&sts=0
以客户这个URL,当他们完成结账
Take customers to this URL when they finish checkout
http://yourwebsite/complete_registration.php
高级变量
Advanced variables
notify_url=http://yourwebsite/complete_registration.php
我希望它帮助你。
这篇关于贝宝订阅按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!