Download the PHP package amsgames/laravel-shop-gateway-paypal without Composer

On this page you can find all versions of the php package amsgames/laravel-shop-gateway-paypal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-shop-gateway-paypal

PAYPAL GATEWAY (for Laravel Shop Package)

Latest Stable Version Total Downloads License

PayPal Gateway solution for Laravel Shop.

Gateways

This package comes with:

Contents

Installation

In order to install Laravel Shop, you can run

to your composer.json. Then run composer install or composer update.

Then in your config/shop.php add

in the gateways array.

Configuration

Authentication

Set your PayPal app authentication credentials in config/services.php, like:

NOTE: Change sandbox to false when going live.

Gateway Usage

Direct Credit Card

The only additional step needed for this to work is to add the credit card information before checkout and before order placement, like:

NOTE: If you are calling Shop::checkout() in a different controller or view than Shop::placeOrder, be sure to recall setCreditCard() before calling Shop::placeOrder() in your second controller. This package does not stores credit card data.

RECOMMENDATION: Use SSL to secure you checkout flow when dealing with credit cards.

PayPal Express

If you don't want to deal with credit card forms and SSL, you can us PayPal Express instead. PayPal Express handles the payment process outside your website and returns with the results.

Look at PayPal's documentation for more information about this process.

Configuration

PayPal will callback Laravel Shop and this gateway with the results. Laravel Shop will then redirect the customer to the route name set in config/shop.php and will pass by as parameter the Order Id. Set up this route before using this gateway.

Usage

License

This package is free software distributed under the terms of the MIT license.

Additional Information

This package uses the official PayPal PHP SDK.


All versions of laravel-shop-gateway-paypal with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/console Version ~5.0
illuminate/support Version ~5.0
paypal/rest-api-sdk-php Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package amsgames/laravel-shop-gateway-paypal contains the following files

Loading the files please wait ....