Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dsphinx/rest-api-sample-app-php

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizza App using PayPal REST API

Overview

This is a simple pizza store app that showcases the features of PayPal's REST APIs. The application uses the SDKs provided by PayPal. The app demonstrates how you

* Save a credit card with paypal for future payments.
* Make a payment using a saved credit card id.
* Make a payment using paypal as the payment method.

Pre-requisites

  • PHP 5.3+
  • curl, openssl and mysql PHP extensions
  • Composer for installing the Rest API SDK
  • Mysql 5.x server

Running the app

  • Copy the rest-api-sample-app-php folder to your htdocs folder.
  • Run 'composer update' from the root directory.
  • Create a new database called paypal_pizza_app and update connection parameters in app/bootstrap.php file.
  • Create the necessary tables as give in install/db.sql or simply run the install/create_tables.php file
  • Optionally, update app/bootstrap.php with your own client id and client secret.
  • You are ready. Bring up http://localhost/rest-api-sample-app-php on your favourite browser.

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.