Save Smart Payment with airSlate SignNow
Get the powerful eSignature capabilities you need from the solution you trust
Choose the pro service designed for pros
Configure eSignature API quickly
Collaborate better together
Save smart payment, in minutes
Cut the closing time
Maintain sensitive information safe
See airSlate SignNow eSignatures in action
airSlate SignNow solutions for better efficiency
Our user reviews speak for themselves
Why choose airSlate SignNow
-
Free 7-day trial. Choose the plan you need and try it risk-free.
-
Honest pricing for full-featured plans. airSlate SignNow offers subscription plans with no overages or hidden fees at renewal.
-
Enterprise-grade security. airSlate SignNow helps you comply with global security standards.
Your step-by-step guide — save smart payment
Using airSlate SignNow’s eSignature any business can speed up signature workflows and eSign in real-time, delivering a better experience to customers and employees. save smart payment in a few simple steps. Our mobile-first apps make working on the go possible, even while offline! Sign documents from anywhere in the world and close deals faster.
Follow the step-by-step guide to save smart payment:
- Log in to your airSlate SignNow account.
- Locate your document in your folders or upload a new one.
- Open the document and make edits using the Tools menu.
- Drag & drop fillable fields, add text and sign it.
- Add multiple signers using their emails and set the signing order.
- Specify which recipients will get an executed copy.
- Use Advanced Options to limit access to the record and set an expiration date.
- Click Save and Close when completed.
In addition, there are more advanced features available to save smart payment. Add users to your shared workspace, view teams, and track collaboration. Millions of users across the US and Europe agree that a solution that brings everything together in a single holistic enviroment, is what enterprises need to keep workflows functioning smoothly. The airSlate SignNow REST API enables you to integrate eSignatures into your application, website, CRM or cloud. Try out airSlate SignNow and enjoy quicker, easier and overall more efficient eSignature workflows!
How it works
airSlate SignNow features that users love
Get legally-binding signatures now!
What active users are saying — save smart payment
Related searches to save smart payment with airSlate airSlate SignNow
Add smart payment
hello today we're going to talk about how to integrate PayPal smart payment buttons on your server using PHP so if you've been on PayPal website then you may have already seen these instructions here first couple of steps talk to you about how to load the buttons and incorporate your client ID and everything like that so PayPal knows where to send that money when a customer makes a payment but something people often get stuck when is what to do after this but here so step number five capturing the transaction and what to do once the customers completed a successful payment so that's what we'll be addressing here for those who run say an online store for example using PHP now this supports a bit of what we cover here in this course and coders guidebook comm which I'll include a link for in the description below how to build an online store and sell digital products so this course completely walks you through how to build an online store from scratch using coding languages such as PHP SQL databases jQuery AJAX HTML CSS and much more at the moment it's 79 page PDF course with easy to follow instructions lots of pictures and of course example code files for the full store so if you're looking to build an online store that sells digital products storing them securely securely on your server making temporary download links whenever a purchase is done as well as a whole raft of other features then definitely look into buying this course and whenever the course is updated then you'll receive those free updates as well also check in the description because I'm also planning to release the course on Amazon and have a video course going up when you deme so those things may well be up and running as well by the time you look at this video right so what we're going to do here like I say is address what happens once the customers made a payment and you then need to process the order and do other bits like you may even want to record the order in an SQL database as well for your own reference so this part of the code here is what will mostly focus on the unapproved function this is what will execute following six for payment so as it stands if you copy the code from PayPal's website then it will return the order details and display an alert to the customer at the top of the screen here saying the transaction was completed by and then the customers name as indicated by their PayPal account now chances are you want to do a lot more than just confirm to the customer though that the transaction was completed you may want to process the order prepare some downloads generate some shipping instructions if you sell physical products or maybe even just record the transaction in your own database so that you can refer to it later and process the order future date if needs be so that's what we'll talk about here so how to integrate PayPal buttons and perform some operations on the server-side so I'll also be referring to this tutorial that we have up here on coders guidebook that runs through a lot of warm about to say hearing words so if you want to follow along by doing here and this is also where you'll find a lot of example code as well which you can copy and paste into your own store so as it stands looking at this code here like I say we've got the alert transaction completed by now if you have a lot of operations that need to run following a successful payment then it may be better to redirect to the customers web browser to a different PHP page that can handle all those operations and so that's what I have done here I've reworded it slightly so that following successful payment the customers web browser will redirect them to a file called PayPal - transaction - complete which is located in a folder called store - files that is located in here so the PayPal payment buttons are on the checkout cart page where the customer pays for their goods so following successful payment the PayPal buttons will redirect the customers web browser to a file in here called PayPal - transaction - complete and that's where we'll run all our all of our operations to retrieve the full set of transaction details from PayPal and run whatever operations we need for our own store to manage and process the order and so going further down the tutorial this is an example of the code you may have in that PayPal transaction complete file split into a couple of sections the first section integrates the PayPal software development kit SDK which is basically a collection of tools and files that your server can use to communicate with PayPal and retrieve the transaction details that you need we'll talk about how to set up the SDK at the end of this tutorial so that's what section one pretty much does we've got a section two which is a function called get order which is inside the get order class and that is really what we'll following a customer's order that will be what actually communicates with PayPal API and retrieves the details that you need so then section three we incorporate the client from a PayPal client class again we'll setup that later because some of those details in that class will be specific to your store to ensure that your data request is authorized then we have a response variable which is essentially what we'll draw and request those details from PayPal for the transaction so the client variable will contain the details for your store and the response variable will contain the instructions for requesting order details based on a customer's order ID then in part four this is the bit that you'll customize depending on what kind of products your store sells and what you're trying to achieve these variables each represent a different bit of data that we're retrieving from PayPal from the full set of transaction details so each variable begins with response then results so we're requesting the transaction details and then we're getting the full array of results so if you wanted to actually output the full transaction data then you would simply just use that you would call the response variable and just get the full result you wouldn't know of any further you just do that as is shown here so if you wanted to print the full set of transaction data for a given order ID then you'd use that come on there the echo JSON encode response result and what you would see for the full transaction details is something like this it's is a full set of transaction details for mock purchase that was done using a demo store which you can access there so in there we get a lot of details we get the order ID and turn purchase units that tells you a bit about the order so the total value of it a bit about the payee so the business that would be your business's address there at the moment it's a sandbox account which is PayPal kind of testing environments so all the purchases done there are just mock transactions Merchant ID shipping so these are some details for the customer here so if you have to ship a product then you may do it based on this information here so that's got customers address but more information about the payment so the full amount that the customers paid how much of it was sent to PayPal to cover their fees at the bottom we have more information about the fair payer for other so their first and surname their email address payer ID yada yada yada so this is the full array of data that you can retrieve from PayPal following an order chances are you won't want the full lot that you just want certain bits so the customers email address for example is a good one their shipping address if needed and so an example of how to get those specific bits of data shown here so if you wanted to get the customers email address then you do response call the transaction details a result get the full transaction data set then you'd go further so you'd go payor then email address so to get the customers email address we're calling the transaction details we're getting the full lot of data but then we're going pay a email address so let's go down here payor further along to email address in the email variable there we have this bit of data that email address which is shown here so that is then stored in the email variable and you can do with that what you want you can sort in an SQL database which is something we'll show you how to do in this course and other things like that now some bits of data such as the purchase unit begin with an array so that is why we have in brackets 0 there because we're taking the first item from the array so the customers all there to get the customers name we're getting the transaction data then we're going purchase units the first item in the array shipping name full name so purchase units first item in the array shipping name full name so John Doe the value of the full name is what will be will be stored in the name variable there in the address variable we're going purchase units shipping address so what will be stored in the address variable is everything here so all those address lines postal codes country codes that will all be stored there if you wanted just a specific item from the address then you would go further to specify admin area one for example okay then so yeah in the PayPal transaction complete file you get all the bits of information you need from the transaction data and then here we use a header command to them redirect the customers web browser to a success page which you can see in the example files is there so none of this would really be visible to the customer all be done behind the scenes either in server by the customers web browser the customer wouldn't actually see anything once they've made payment on the car checkout page the next thing they would see is the success page so if we now move on it's almost time to set up the SDK so when this loads we use the get order class and the get order function to take the customers order ID as an argument and that's what we get here so the order ID was sent over by the cart page in the unapproved function so you see when we redirect the customer to the PayPal transaction complete file we append the order ID to the end of it by using this data to order ID command that retrieves it from the PayPal buttons and you can see here in the PayPal transaction limit file we use a get command to retrieve that order ID because it was actually sent over there at the end of the URL so that's how we get so that's how the order ID is sent from the PayPal buttons to the PayPal transaction complete file we use a get command after appending the order ID to the end of the redirect URL so in case you're wondering how the order ID gets across over here to actually run this function because you can see the order ID is used as an argument there then that's how ok then so the let's now set up the SDK let's see if I can find out what people have to say about it so for PHP they recommend using composer to download to the files for the SDK because that all is all the SDK is it's just the collection of files issued by PayPal you don't even really need to do anything they just need to be there on your server so composer get composer dog forward slash download this is where you get it there's all different kinds of versions you could do I mean chances are you want to go for the most up-to-date version at the time you're looking at this there are other ways to install it as well if you familiar with these ways but you can always just download it there and install it on your computer manually then once composer is installed you can access it using command prompt on Windows then I believe on Linux it's command line you'd use and terminal on Mac or maybe it's the wave-around terminal on Linux and command line on Mac but either way if you're using those operating systems and you probably know which one is which I use Windows so I'll open up a command line there so you can download the files wherever you want and just copy them later if you want or you could set a directory using a CD command so say for example you wanted to download the SDK to a folder called documents then you would do it like that ok then you use this command composer require PayPal checkout SDK in point zero one so just copy and paste that in there and did it wrong copy and paste that in there then press enter and yep so it's begun downloading the files there and send them all up nothing to install or update that's likely because I've already got it there let's have a quick look yes so it's already there see it will download folder called vendor and compose a JSON and composers log you can go ahead and delete those two random files because you don't need them it's just vendor you need so then copy and paste that to the chosen location in your store going back to the demo we store it in this folder here which contains all the stores files there is vendor so that vendor folder contains everything you need for the PayPal SDK so all the files that are required to communicate with PayPal are in there so you see we've got this so actually if I briefly show you so there you are check out SDK PayPal HTTP that's also used a bit you don't even really need to know about this PayPal knows what to do with all of that I'd set it up so that's actually super easy once you know what you're doing this autoload file though you'll see is run if we go up here to the PayPal transaction complete file it's the information from that file is imported using this require command so you've got to make sure that the vendor folder is in the correct location relative to the PayPal transaction complete file so the PayPal transaction complete file is there and the vendor folder is there so that URL is complete if your folders and files are in a different location then you may need to adjust that accordingly so that auto load file basically sets into motion the whole SDK there's nothing more you need to know about it then that's as long as it's in the right place and it will just run automatically those use statements integrate the bits and pieces that are needed to communicate with PayPal API the only other bit here worth referencing though is this PayPal - client PHP file that is a file that contains some instructions for ensuring that your data requests the paper out it's authorized so it will complain some bits and pieces from your store so if we go down here this is an example of what the PayPal client dot PHP file will look like see it's there in the same folder as the PayPal transaction on green file contains some stuff specific to your store most of this part you can leave the move the same the two bits you'll need to customize though are your client ID and client secret right so I've logged into PayPal here developers or PayPal comm forward slash developer forward slash applications you can see you have two different kinds of applications you've got sandbox and you've got live sandbox are for mock transactions so for testing the buttons ensuring everything works real money is not involved in do as many test transactions if you like until everything's working as you want it to live as implies is for when your store is ready to go open to the public and you're ready for real money to get involved there so when you create an app once you've filled in all the details on the form so you've given the app name you've linked it with a business account it'll give you a client ID and secret the client ID and secret are what goes in here so if you want to test your store then you'd input you didn't put your sandbox client ID and sandbox client secret there when you're ready for your store to go live then you would import your live client ID and live client secret in there so from the live app that's what we're going there so sandbox details for when you're testing the store and live details when your store is open to the public there are only two other bits you'd need to change those are the references to production environment which are here and here production environment is for when your store is live if you're testing the store then replaced production environment with sandbox environment still all one word still with a capital S sandbox and a capital e for environment just yes I changed that so it's summarized in the paypal client file you copy and paste everything in here if you're testing the store the new sandbox environment there and there and your sandbox ID and sandbox secret when your store is ready to go live and you change sandbox environment to production environment and put your live client ID and live client secret in there and that's all you'd need to change to stop loaded like usual so yeah you've written your paper transaction complete file which processes all the bits and pieces you need for your order in the course we talked about how to save the transaction details in a database and prepare the downloads for the customer but yeah you can do anything you want in there anything to do a process in the order and the paper client file contains the details for your store so it's ID and secret and whether you're using sandbox or a production environment and we've also got the SDK inside the vendor folder so those are all bits that you would upload to your server so that your website can communicate with PayPal request transaction details all right then so that's about it then if you have any questions about it then we have a contact us section on the website you can communicate with us on our email hello got coders guidebook comm of course check out the course it's available up on Coda's guidebook calm now but by the time you read this so check the description we may have been amazon link or udemy link or even more products available in the store so we want to get another course and the different things you can do if you're selling physical products because it is quite a bit different there so there could be all kind of things available by the time you read this course drop the video a like and subscribe if you found it useful that'd be much appreciated and we were stuff to hear from people and hear new ideas and tips and tricks and improvements so yeah stay in touch I
Show moreFrequently asked questions
How can I sign my name on a PDF?
How can I make an electronic signature on a PC?
How can I have my customers electronically sign a PDF quickly?
Get more for save smart payment with airSlate SignNow
- Decline autograph Cooperation Agreement
- Confirm eSignature Perfect Attendance Award
- Print eSign Inbound Marketing Proposal Template
- Notarize mark Simple Cash Receipt
- State byline Free California Room Rental Agreement
- Accredit electronic signature Birthday Gift Certificate
- Warrant countersignature Florida Condo Lease Agreement
- Ask esigning Credit Agreement
- Propose signature block Time Management Matrix
- Ask for sign Personal Medical History
- Merge Quality Incident Record digital sign
- Rename Joint Partnership Agreement Template initial
- Populate Photography Contract signature
- Boost Service Invoice countersignature
- Underwrite Vocabulary Worksheet Template digital signature
- Insure Executive Summary Template electronically signed
- Instruct SaaS Sales Proposal Template digi-sign
- Insist Scholarship Certificate esign
- Order blank signature block
- Fax cosigner validated
- Verify undersigned checkbox
- Ink onlooker calculated
- Recommend Freelance Recruiter Agreement Template template signed electronically
- Size Basketball Camp Registration template electronically sign
- Display Auto Repair Contract Template template countersignature
- Inscribe Corporate Bylaws template mark
- Strengthen Copyright Assignment Agreement template signed
- Build up Tourist Transport Ticket template digi-sign