重复paypal支付返回url的密码与paypal确认页面的密码不匹配

发布于 2024-12-02 09:15:03 字数 2284 浏览 1 评论 0原文

我已在我的网站中集成了定期贝宝付款方式。在此方法中,我从返回网址获取用户名和密码。返回网址和 paypal 确认页面上的用户名相同。 但返回网址和 paypal 确认页面的密码不同。 我需要在确认页面和返回网址中使用相同的密码。 我的代码是 . 。

<form action="paypal.php" method="post">  
<!-- Identify your business so that you can collect the payments. -->  
 <input type="hidden" name="business" value="[email protected]">  
 <!-- Specify a Subscribe button. -->  
 <input type="hidden" name="cmd" value="_xclick-subscriptions">  
 <!-- Identify the subscription. -->  
 <input type="hidden" name="item_name" value="Alice's Weekly Digest">  
 <input type="hidden" name="item_number" value="DIG Weekly">  
 <!-- Set the terms of the 1st trial period. -->  
 <input type="hidden" name="currency_code" value="USD">  
 <input type="hidden" name="a1" value="0">  
 <input type="hidden" name="p1" value="14">  
 <input type="hidden" name="t1" value="D">  
 <!-- Set the terms of the 2nd trial period. -->  
 <input type="hidden" name="a2" value="5.00">  
 <input type="hidden" name="p2" value="3">  
 <input type="hidden" name="t2" value="W">  
 <!-- Set the terms of the regular subscription. -->  
 <input type="hidden" name="a3" value="49.99">  
 <input type="hidden" name="p3" value="1">  
 <input type="hidden" name="t3" value="Y">  
 <input type="hidden" name="src" value="1">  
  <input type="hidden" name="usr_manage" value="1">  

  <input type="hidden" name="return" value="http://server/projects/ananth/subscribebutton/thanks.php">  

 <input type="image" name="submit" border="0"  
 src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif"  
 alt="PayPal - The safer, easier way to pay online">  
 <img alt="" border="0" width="1" height="1"  

src="https://www.paypal.com/en_US/i/scr/pixel.gif" >  
</form> 

在这个paypal确认页面,用户名和密码如下

密码:deal2minor 用户名:pp-cheersidle

在此返回网址页面中,用户名和密码如下

密码:ojjxcsIatFLp2 用户名:pp-cheersidle

我需要在确认页面中使用相同的密码才能在返回网址中返回。所以只有我可以将其存储在我的数据库中。

请告诉我。 。 。 。

i have integrated the recurring paypal payment method in mysite. In this method , i get the username and password from the return url. The username is same on both the return url and paypal confirmation page. But the password is different in both return url and paypal confirmation page.
i need the same password in both confirmation page and return url.
My code is . .

<form action="paypal.php" method="post">  
<!-- Identify your business so that you can collect the payments. -->  
 <input type="hidden" name="business" value="[email protected]">  
 <!-- Specify a Subscribe button. -->  
 <input type="hidden" name="cmd" value="_xclick-subscriptions">  
 <!-- Identify the subscription. -->  
 <input type="hidden" name="item_name" value="Alice's Weekly Digest">  
 <input type="hidden" name="item_number" value="DIG Weekly">  
 <!-- Set the terms of the 1st trial period. -->  
 <input type="hidden" name="currency_code" value="USD">  
 <input type="hidden" name="a1" value="0">  
 <input type="hidden" name="p1" value="14">  
 <input type="hidden" name="t1" value="D">  
 <!-- Set the terms of the 2nd trial period. -->  
 <input type="hidden" name="a2" value="5.00">  
 <input type="hidden" name="p2" value="3">  
 <input type="hidden" name="t2" value="W">  
 <!-- Set the terms of the regular subscription. -->  
 <input type="hidden" name="a3" value="49.99">  
 <input type="hidden" name="p3" value="1">  
 <input type="hidden" name="t3" value="Y">  
 <input type="hidden" name="src" value="1">  
  <input type="hidden" name="usr_manage" value="1">  

  <input type="hidden" name="return" value="http://server/projects/ananth/subscribebutton/thanks.php">  

 <input type="image" name="submit" border="0"  
 src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif"  
 alt="PayPal - The safer, easier way to pay online">  
 <img alt="" border="0" width="1" height="1"  

src="https://www.paypal.com/en_US/i/scr/pixel.gif" >  
</form> 

In this paypal confirmation page, the username and password are as follows

Password: deal2minor
Username: pp-cheersidle

In this Return url page, the username and password are as follows

Password : ojjxcsIatFLp2
Username : pp-cheersidle

I need the same password in the confirmation page to get returned in the return url. So only i can store it in my database .

Please advise me. . . .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文