贝宝订阅按钮 [英] Paypal subscription button

查看:228
本文介绍了贝宝订阅按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景
我建立一个网站,我需要使用某种形式的定期结算的付款方式。我的客户没有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)


  1. 以客户到这个URL时,取消其结帐

  1. 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屋!

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