Is it possible to specify the notify-url for a billing plan when creating it? I am using the PHP Rest SDK 1.7.4.
I did read somewhere that it is possible to do this in the merchant preferences, I have tried this but get the response:
"VALIDATION_ERROR","details":[{"field":"merchant_preferences.notify_url","issue":"Field is invalid in a request."}]
Is the recommendation to do this out of date like most of the information about using PayPal?
How can I get a cancellation of a billing agreement to notify a PayPal IPN handler (without setting the IPN address in the PayPal UI)? I don't want to use webhooks.
https://github.com/paypal/PayPal-PHP-SDK/issues/236
I think it don't supported yet~
Related
It is my intention to integrate payment processing/subscription billing plans into a site using PHP and Javascript. I'd like to use PayPal to process credit/debit and PayPal charges. I read an article that said (Paraphrasing)
Normally you have to forward users to PayPal where they input their
billing information. PayPal Payments Pro allows you to process billing
info directly from your site.
I've also seen information to the contrary. This answer for instance. Also, the PayPal API docs don't say anything about needing Payments Pro to process a card directly from my site. Here you can see a card being processed without sending the user to PayPal under "Create billing agreement (credit card)."
I have a PayPal business account. I was able to generate a PayPal API Signature (API creds). Can I use the code shown in that quick start to process payment methods without applying for Payments Pro? I'm not talking about IPN. I know that anyone can use that.
Basically I want my users to associate PayPal account in their accounts for identify verification purposes. I am developing a marketplace site and wanted to integrate paypal as my identity verification procedure.
Is there a way to verify email address, first name and last name using PHP like using $_GET variables or $_POST variables? If there is can you show me how?
I tried search and I get Adaptive Accounts GetVerifiedStatus API. But that totally new to me, I don't know where and how to start.
Your best bet here is to make them start, but not complete, an Express Checkout. A normal Express Checkout (referencing Classic but REST works the same way) looks like this
SetExpressCheckout - Tell PayPal you want to authorize $1.00 and have them log in and authorize the payment
GetExpressCheckoutDetails - Take the token from step 1 and get their PayPal account details. Included in this is PAYERSTATUS, which will tell you if their PayPal account is verified or not
DoExpressCheckout - You won't do this, but this is where you finish the process and get funds. Since the data you want is in Step 2, just ignore it and the session will expire.
You could implement GetVerifiedStatus API to determine whether the specified Paypal account's status is verified or unverified.
To use that API, you need to submit the application request to Paypal for approval first. Submission portal link here.
Then use the GetVerifiedStatus API call directly, refer to API request fields,link.
Sample SDK download link.
I am working on a PHP website with Google checkout Payment. I need to get the transaction id in the merchant calculation page using API Call back url. What method can I use for this?
Google Checkout offers a service similar to Paypal's IPN where they send all of the transaction information to a URL you specify. This includes the transaction number.
I am trying to do Adaptive Payment API with a IPN and have been find that with the sandbox environment I'm not getting back payer's address or custom variables. I've seen this in another post with custom variable but is this the case when using the Adaptive payment API. When I sent a test IPN I can do numerous variables but when checking out through the sandbox I don't get the payer's address. Which I would like. Can I not get the payers Address or Custom variable back from Adaptive API?
I found out the issue or solution. Basically the IPN for the API is different then the IPN for the instant payment. You can get a custom variable through the GET method but make sure you use parse the IPN different or you won't get it.
The parsing information is here:
https://www.x.com/developers/paypal/forums/adaptive-payments-api/php-technique-parsing-adaptive-payment-ipn-posts?page=0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C1
and sending a custom variable through is here:
custom field in the IPN of paypal adaptive payment
Although apparently I have been told if you use adaptive payments you cannot get back the billing address information of the customer.
i have a client that provide a service on his website.he wants to automate the service orders.
the service has these steps:
1- user submit a form with request.
2- my client review the request, validate it and use the info in this request to :
3- login to another website
4- buy a product from this website using his paypal account.
5- downlad and send the product in email to the user.
i was able to automate all of this using curl.the only problem i have is the purchase process using papal.i didn't deal with paypal before.so i want to know if i can just submit the papal form on the purchase website using curl.or this will not work?
while searching i found something about papal IPN.but i don't know if my client have this IPN in his papal account or not? also, he does not want to give me his papal info. is there is anyway i can do this with fake paypal account to try it?
thank you so much.
First of all, sign up for a PayPal sandbox account: https://developer.paypal.com/devscr?cmd=_signup-run
It's a really slick system PayPal put together for developers to test out stuff.
Secondly, review the PayPal API's at:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks
I believe all you need is the PHP Name-Value pair or Website Payments Standard interfaces.
IPN stands for Instant Payment Notification, it's a way for PayPal to tell you that a payment was made.
What you are looking for is either the PayPal NVP or SOAP interfaces.