paypal

How to deny payment via PayPal IPN?

你说的曾经没有我的故事 提交于 2019-12-25 09:44:00
问题 I need to create dynamic 'Pay Now' buttons on my site, and PayPal says the way to do this is via an HTML FORM with preset variables for the price, currency, and item of the purchase. I use PayPal IPN to notify me when a payment has complete. However, what's to stop someone from modifying the query parameters of the Pay Now button to change the price? Some people have told me to redirect the button through a PHP file that sends you to a PayPal payment page with the parameters in place, but the

Paypal PHP SDK REST is not returning any “success” variable

不羁的心 提交于 2019-12-25 08:48:03
问题 I make basic PayPal payment on sandbox, following instructions on official samples here: CreatePaymentUsingPayPal Execution The problem appears when my Execution service is getting request from paypal server. After dumping $_GET variables I can see something like: array:3 [▼ "paymentId" => "PAY-9HM25571EF136871GLEWZM6A" "token" => "EC-6VX65808WU776334M" "PayerID" => "2ADP8W2S9ST8Z" ] So there is no variable called "success". If payment ended without success I should get "success": false. I

Paypal - charge customer an unknown amount at a later date

醉酒当歌 提交于 2019-12-25 08:17:15
问题 We have a site where we need to charge the customer an upfront fee, and then when they complete a process at a later date, we will charge them another amount for which we only have an estimate. What is the best way to do this with PHP SDK? Do I need to use the Classic API? Is a regular Billing Agreement (subscription) required? 回答1: Reference Transactions are not currently available in the Paypal PHP SDK, but they are working on it. You can do it with the Classic API. 来源: https:/

Setting Landing Page for Direct Pay in Paypal REST API

北城余情 提交于 2019-12-25 08:04:53
问题 Is there a way to set the landing page for paypal to be to pay with credit card similar to what is possible with the express checkout API? I am aware of this question - Paypal REST api and configuring direct payment page but since Paypal refers to stackoverflow to ask questions, I am hoping their developers will see this new question and shed light on the subject, as the issue is over a year old... 回答1: We don't have LANDINGPAGE parameter in REST API yet. 来源: https://stackoverflow.com

Secure a download link after payment with PayPal

China☆狼群 提交于 2019-12-25 07:35:28
问题 I have a PayPal "buy now" button that has a return URL which redirects to a download page after payment. Only thing is that the user can copy and paste the URL of the download page and share it -which is a disaster- And they can come back to the download page, which I do not want unless they paid; so each time they are redirected to the download page, the must have first paid. How to secure the URL and check if user paid or not and if they paid they can be redirected to the download page

Paypal sandbox accounts for China & New Zealand

孤者浪人 提交于 2019-12-25 07:32:52
问题 I am using Paypal MPL for iOS. I am able to create sandbox accounts for USA , UK , AU & Hong kong in Paypal sandbox. In the specs sheet of Paypal MPL , China & New Zealand both are supported. But I can't find to create sandbox accounts for them. Can anybody tell me how to create sandbox accounts for these country ? Thanks. 回答1: Login to developer.paypal.com with your usual account. After login, goto sandbox.paypal.com directly in a second tab/window in your browser. Click on SignUp and select

how to login https://www.sandbox.paypal.com/ in personal test account

故事扮演 提交于 2019-12-25 07:17:10
问题 i have made an account on https://developer.paypal.com/ and after that create a personal account and a business account now i want to test these account to make a transaction on sandbox but on sandbox there is a problem that i can't get access to login as personal account and as business account https://www.sandbox.paypal.com/ i used the email address and password of my personal account and business account . how i can do test on paypal sandbox ? 回答1: I am also passing through these phases,

how to login https://www.sandbox.paypal.com/ in personal test account

强颜欢笑 提交于 2019-12-25 07:16:09
问题 i have made an account on https://developer.paypal.com/ and after that create a personal account and a business account now i want to test these account to make a transaction on sandbox but on sandbox there is a problem that i can't get access to login as personal account and as business account https://www.sandbox.paypal.com/ i used the email address and password of my personal account and business account . how i can do test on paypal sandbox ? 回答1: I am also passing through these phases,

ASP.NET C# Get referer from Paypal

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 07:11:12
问题 I have a big trouble. I've done an e-commerce site many month ago, now i wanna do that after an user has bought, paypal redirect the user in a website that confirm the bought with an e-mail. Obviously, the return page has a control of refererpage, because it can't send a confirmation mail to all that write the page address, but the command: Request.ServerVariables["HTTP_REFERER"] Doesn't work, because paypal is an https webpage. So, how i can solve it? Thank you before! 回答1: hi you can try

return url in paypal website payments

妖精的绣舞 提交于 2019-12-25 06:51:16
问题 I have set return and rm variables, but after successful transaction the user is not being automatically redirected to the "thank you page". Do I have to turn on "Auto Return" in my business account? I thought these are separate settings. 回答1: Yes, you have to turn on "Auto Return" in my settings. The return variable in the button then can override PayPal's setting. They also warn you that if Paypal Account Optional is on, it won't autoredirect. 来源: https://stackoverflow.com/questions/9338653