Paypal ipn响应

时间:2011-10-14 04:29:13

标签: php paypal

以下是我从动作脚本发送的表单。

        //var byteArray:ByteArray = price.
        var url:URLRequest = new URLRequest("https://www.sandbox.paypal.com/cgi-bin/webscr");
        //url.data = new URLVariables();
        var obj:URLVariables = new URLVariables();

        obj.business = 'thatfl_1316474816_biz@hotmail.com';
         obj.no_note = '1';
         obj.action = 'paypal';
         obj.cmd = '_xclick';
         obj.notify_url = 'http://www.facebook-books.com/payPal/ipn.php';
        obj.quantity = '1';
        obj.item_name = 'some name here';
        obj.rm = '2';
        obj.currency_code = 'AUD';


        obj.desc = 'Customized Calendar';
        var price:Number = 19.44;
        var tot:Number = price;

        obj.amount =  price.toString();
        obj.total = tot.toString();



        url.data = obj;


        //url.method = URLRequestMethod.POST;

        navigateToURL(url, "payPalWindow");

问题是除了最后一部分,我们希望paypal在我们的个人资料上指定的地址发送IPN通知,即ipn.php,并且它包含来自paypal的普通复制粘贴代码。

永远不会调用此文件。

任何一个人都可以忽略我们所缺少的东西吗?

0 个答案:

没有答案