Get shipping label using Paypal API - paypal

How to get shipping label using Paypal API?
I have seen several examples where sending form on http://www.paypal.com/us/cgi-bin/webscr?cmd=_ship-now and parse the results, but did not find how to send the parcel using Paypal API

We use Perl/LWP to simulate a browser to put in the user address and package information to generate the shipping label. And then we download the image files into our local file system.
After that, we format the image file to fit our printers.

Unfortunately, PayPal does not have API's for shipping labels or tracking numbers. I've been begging for it for years.

Related

calling rest apis from tradingview

What I need to do is to tie Tradingview alert system to the api of a Crypto Exchange. I know Tradingview offers alerts that can be sent via SMS or EMail - but - how can I convert this info so that I can call the APIs of a Crypto Currency exchange.
For example, if I create an alert to buy a certain ICO at a specified price, then what I need is some way to get this to trigger ~something~ (a PHP script or whatever) that will go ahead an execute the REST command that will create an order on Binance or Bittrex or ....
Any info, hacks or ideas on how this could be done would be GREATLY appreciated. If there is something better that can be used, let me know that as well.
TIA
You could use email alerts and then periodically fetch email (i.e. with a PHP script).
Then when you receive a Tradingview alert from this email address you can start your background process (buy or sell with markets api).

Stripe iOS integration server side code

I have been playing around with the Stripe SDK and API and I am a little confused. I have a very simple use case. I want to use the built in STPAddCardViewController and STPAddCardViewControllerDelegate to save card information that a user puts in. We also need to charge the card based on the credit card the user created. We have a unique identifier for each user when they create an account and any user that has access to our app does need to create an account. What is the best way to do this?
We also aren’t able to get the card information (STPCardParams) that a user selects from the STPAddCardViewControllerDelegate. How would we do that?
The part that I am having the most trouble with is the server side piece. I know Stripe gives example code for this but I haven’t been able to get it to work for us. We are using a backend as a service for our app so don’t use code to create our server. Is there any simple code that we can deploy that allows us to pass the card information, our Stripe API key, a charge amount, and a currency to a server (on heroku for example), and just have that server charge the card for us? I don’t think this is that hard to do and it seems like it can be pretty cookie cutter for everyone who is using stripe. If this is the case, does anybody have the code for this? Is it possible to use stripe without server side code?

Is there a way to dynamically upload catalog items from my database to PayPal Here using the API?

I'm looking to see if it's possible to add catalog items that are always changing with code rather than manually entering them one by one. I want to do this to make use of the barcode scanning feature on the PayPal Here POS app in a store that never sells the same item twice.
Here is the entry page I'm looking to automate with the PayPal API:
image of PayPal interface (was too new to stackoverflow to embed it)
I haven't found a hint of this in the API docs or on the web. Does anyone know if it's possible?

PayPal payment to issue activation code

I have just created my first PayPal button and it is working correctly within sand box. I would like to know the best way (if possible) to issue a unique activation code on my return url ensuring that the user has definitely paid before they receive the code. I could manually email the code but wondered if the was any way of automating this using some sort of return value? Possibly returning to an aspx page which then reads from my database to get the next activation key and displays it?
Thanks
Garry
As you already know that PayPal doesn't provide such facility for delivering activation instantly but it does offer the Instant Payment Notification API (PayPal IPN) which can be used to build such a platform.
Here is a great article for that purpose only. https://www.codeproject.com/Articles/383207/Selling-software-using-PayPal-IPN-as-an-eCommerceenter link description here
The best way to handle that would be to use Instant Payment Notification (IPN).
Any time a transaction happens on your site (whether it's a payment, refund, cleared pending payment, dispute, etc.) the PayPal server will POST details about that transaction to a script you have sitting on your server.
This script can receive the data and process it accordingly allowing you to automate things like updating a database, generating email notifications, hitting 3rd party web services, delivering e-goods, etc.
If you want the activation code to be visible on the return URL you can look at Payment Data Transfer (PDT), which is just like IPN except that it's made for use with the return URL. It is not recommended to use this, though, for post-transaction processing because there is no guarantee the user will make it back to the return URL, for one, and also it wouldn't handle things like e-checks correctly.

How to generate unique payment URL using Paypal?

I'm trying to work out how I can generate a unique payment token that I can redirect users to so they can pay for a digital item.
I think the Button Manager SDK is what I need. However, I can not see how I can set the receiver email? For a particular item, there is a different receiver and I want to dynamically set this.
However, it seems I just have to set my credentials as the receiver. I want to use many receivers for different items rather than one sdk config file.
What I currently use is simply a HTML Paypal button but I'd rather dynamically create a unique URL to redirect a user to stop users tampering with things.
Have you considered the Express Checkout API? -- (perhaps with SOLUTIONTYPE=Sole to allow guest checkout?)
I believe it's a better tool for this job; token redirection is a core feature of EC.