I've been asked to extend a US-based site that is using ExpressCheckout to the UK. Is there any difference in the API being used?
I've looked through the PayPal developer site, I can see there is a different UK API for Website Payments Pro - https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks#PayflowPro , but we're not using that.
The only possible reference I can find about ExpressCheckout localisation is to specify the currency - https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECSimpleIntegration#id0832BA0605Z . Is that the only configuration required, as I've heard some horror stories about people trying to build UK-based PayPal api calls in the past
thanks
Toby
No, there are no changes. You only need to change the currency.
This is not really a programming question though.
Related
Im trying set up recurring payment on my site by using Paypal Express Checkout. I did read through the official docs and I couldnt find anything useful related to recurring payment.
https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/add-paypal-button/
Im just wondering does Express Checkout support recurring payment? If so, how can I achieve that or Where can I get some good example to start with?
Thank you for your help in advance. Much appreciated
Cheers
We have a similar issue before. You might wanted to take a look at this thread.
I'm trying to understand the use case here. When you say recurring payment for express checkout,it has to be something a customer is buying regularly like restocking an item, in that case it's not an express checkout, it's a recurring purchase by a returning customer. They must have opted to restock at a regular interval like every 30 days, 2 months etc. They also must be registered users on your website.
So your logic must include — Checking all the customers who have set up an automatic purchase for an item.
—Check their frequency of purchase and charge them for the amount of the item at that frequency.
—For this purpose PayPal has a REST API :
This is the accurate place to look for to implement PayPal recurring payments:
https://developer.paypal.com/docs/api/payments/#payment_create
In case they also allow you to authorize payments through the following API
https://developer.paypal.com/docs/api/payments/#authorization
you could use it as well.
But at least this narrows down your choices in terms of regular payment authorization.
This API will allow you to request PayPal services to authorize payment on a regular basis for that customer. You will still have to have your own logic to check the 'subscription' for your products and the intervals.
—The CreateRecurringPaymentsProfile API Operation (NVP) at the link below looks to be for personal payments. For example something an Inventory Management System will do.
https://developer.paypal.com/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/
It's an API specific to adding recurring payments functionality.
Since you're a developer, PayPal Developers' Resources will answer any queries you have regarding the API functionality and usage. You will have to just know what to ask for. You are their B2B customer trying to understand their API system. You can also file a bug on their Developer portal if you're not getting proper answers.
We implemented the Mass Pay API to do mass payments from our app. When I went to create an NVP/SOAP API app to do this in our Prod environment, the form asked what APIs we planned on using. Sure enough, the Mass Pay API had (deprecated) next to it and told us we should be using the Payouts REST API.
As we were not live yet and still had time before go live, we bit the bullet and rewrote and retested the app to use the Payouts REST API. After creating the REST API app, I noticed Payouts was not 'ticked' for our Live environment, and has a "Contact us" button. So contacted PayPal to enable it, and after 2-3 months and half a dozen calls/emails and being told "it will be enabled in 24-72 hours", decided to contact merchant support.
Merchant support have now told us that the Payouts REST API is only available in the US (we are an Australian company and have an Aus PayPal account).
Yet their documentation clearly says Payouts is available in 150 countries? https://developer.paypal.com/docs/payouts/
I really don't know where to go from here - has anyone tried to do this? Any PayPal reps can shed some light on this?
So for whatever reason we decided to just try using the Payouts API in our live environment and it just worked. It's still unticked in the developer account, but it works in live.
Note: We did have to enable Mass Pay in the account.
I really don't understand, but glad we didn't have to re-write the app again!
I am working for a company that is using Paypal pro. There are so many Paypal account types, API's, and SDK's that I am starting to get confused with it all. At developer.paypal.com, there is documentation for many different things. What API and/or documentation do I use to start integrating paypal into my website? What is the difference between all these different ones?
Any advice or help would be great, as I am stuck.
Thanks for your time!
Personally, I would avoid the REST API and stick with the Classic API for now. The REST API is very new and doesn't do (much) more than the Classic APIs do. In fact, the Classic API is much more mature has a lot more functionality, which is one of the reasons I still prefer and recommend it.
With PayPal Pro you will use one of two APIs depending on which version you have.
Website Payments Pro 3.0 - This uses the DoDirectPayment API
Payments Pro 2.0 - This uses the PayFlow API.
Payments Pro 2.0 is actually the newer version. If you're interested in more detail on that you can take a look at my article on the History of PayPal Payments Pro.
So those would be for direct credit card processing through your site / application from your own custom checkout page. To add PayPal payments to that, you would use Express Checkout APIs. Specifically,
SetExpressCheckout
GetExpressCheckoutDetails
DoExpressCheckoutPayment
If you are working with PHP this PayPal PHP SDK will make all of these calls very simple for you.
The company that I work for uses a Paypal Standard API and IPN API in the UK and is moving to the US (so basically it has a US Paypal account), Are there any specific changes between the APIs for these two different regions? or should the code work for both (provided that they change their account information).
Sorry if this is some sort of duplicate question, but the documentations in the Paypal site are just awful.
Thanks in advance.
The coding for PayPal Standard and IPN should be the same between UK and US.
I have seen on the PayPal REST API's FAQ, that this API is available only for the USA.
I'm in Canada and am realy interested to use it.
Is there a launch date planned? Is there a way to use it anyway?
I have not heard of a date yet as to when these addtional API's will be released yet to other countries.