gpt4 book ai didi

通过静默 url 进行的 Paypal 定期订阅给出无效响应?

转载 作者:太空宇宙 更新时间:2023-11-03 16:34:52 24 4
gpt4 key购买 nike

通过静默 url 进行的 Paypal 定期订阅在真实账户上给出无效响应和空白状态以及订阅 ID,但这在沙盒账户上工作正常。

string cmd = "_xclick-subscriptions";
string redirect = "";
redirect += "?cmd=" + cmd;
redirect += "&business=" + businessEmail;
redirect += "&item_name=" + lblDesc.Text.Trim();
redirect += "&no_shipping=" + "2";
redirect += "&no_note=" + "1";
redirect += "&currency_code=" + "USD";
redirect += "&lc=" + "";
redirect += "&return=" + successPage;
redirect += "&cancel_return=" + FailurePage;
redirect += "notify_url=" + successPage;
redirect += "&rm=" + "2";
//for first month free count=1
redirect += "&a1=" + "0.0";
redirect += "&p1=" + count.ToString();
redirect += "&t1=" + "M";
//new added parameter for recurring
redirect += "&a3=" + total;
redirect += "&p3=" + count.ToString();
redirect += "&t3=" + "M";
redirect += "&src=" + "1";
redirect += "&sra=" + "1";

return "https://www.paypal.com/cgi-bin/webscr"+ redirect;

得到回应

https://www.paypal.com/cgi-bin/webscr&cmd=_notify-validate

最佳答案

如果您尝试使用 PDT 获得响应,然后返回并验证,请确保您的帐户启用了 PDT 并设置了返回 URL。然后尝试删除返回 url 的代码行和您传递的 rm 变量。

关于通过静默 url 进行的 Paypal 定期订阅给出无效响应?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16691790/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com