Giter Site home page Giter Site logo

paypal-digital-goods-php-examples's Introduction

PayPal Digital Goods for Express Checkout PHP Library Examples

PayPal's Digital Goods for Express Checkout service is a wonderful payment solution with disjointed documentation and an unfortunately verbose name.

I created the PayPal Digital Goods PHP Library to connect the dots in the documentation and offer a PayPal library that is friendly to humans.

Goals

This repository is designed to do three things:

  • demonstrate the PayPal PHP library in action;
  • demonstrate how to setup the PHP library for your own use;
  • show how to include the PayPal Digital Goods PHP Library as a submodule in your applications main Git repository.

Usage

To run the examples for yourself, clone the entire folder somewhere onto your server, eg. http://example.com/paypal-examples/.

git clone --recursive git://github.com/thenbrent/paypal-digital-goods-php-examples.git

Note the use of the --recursive flag. This must be included to clone the library as it is included as a Git submodule.

Once cloned, visit http://example.com/paypal-examples/index.php in your browser & follow the links.

Your Own Credentials

For convenience, this example uses my PayPal Sandbox Credentials. To test with your own API credentials, create a sandbox seller account and request it be set as a Digital Goods account in this x.com forums topic.

Login to the account and get your API credentials from the API Access page.

Copy the API Credentials into http://example.com/paypal-examples/functions.php.

paypal-digital-goods-php-examples's People

Contributors

thenbrent avatar

Watchers

vik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.