GithubHelp home page GithubHelp logo

isabella232 / marketplaces-connectedpath-php-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paypal/marketplaces-connectedpath-php-demo

0.0 0.0 0.0 409 KB

PayPal Marketplaces Connected Path - PHP demo

License: Other

PHP 95.80% Hack 0.27% CSS 2.42% JavaScript 1.50%

marketplaces-connectedpath-php-demo's Introduction

PayPal for Partners Connected Path PHP Demo

Important: PayPal for Partners is a limited-release solution at this time. It is available to select partners for approved use cases. For more information, reach out to your PayPal account manager.

Prerequisites

  1. Update PayConfig.php with your "Partner credentials", "Seller emails", and "Seller Payer IDs". If you do not have the credentials, please reach out to your PayPal account manager.

  2. Verify that all the files are in place by running and passing the Unit tests (process shown below).

    wget https://phar.phpunit.de/phpunit-5.7.phar 
    (Download a version of PHPunit consisent with your php version)
    
    mv phpunit-5.7.phar /usr/local/bin/phpunit
    
    chmod a+x  /usr/local/bin/phpunit
    
    phpunit --version 
    
    phpunit Tests/unit_test.php
    

Quick Start Demo Deployment Using XAMPP

  1. Download PHP server. Use a server such as XAMPP to be able to host the demo code sample.
  2. Browse to the htdocs directory of XAMPP. Unzip the downloaded demo code folder and place it in this htdocs directory.
  3. Start the Apache server in XAMPP from the XAMPP control panel.
  4. Open the website in the browser and access it as: http://<your_domain>/<php_code_folder_name>/index.php Here, your_domain will be localhost if hosting on your local machine. The php_code_folder_name is the name of the folder under which the downloaded code resides.
  5. Read further instructions when index.php in opened in a browser.

How the code works

The starting point is index.php.

License

Code released under LICENSE.

marketplaces-connectedpath-php-demo's People

Contributors

braebot avatar jaelumalai avatar jt7102 avatar phakumar avatar sayleec avatar schitre1 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.