Download the PHP package maxiewright/laravel-wipay without Composer

On this page you can find all versions of the php package maxiewright/laravel-wipay. 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-wipay

Laravel WiPay

Laravel package for WiPay Caribbean hosted checkout, return verification, webhook handling, and encrypted merchant credential storage.

The package supports two credential modes:

Installation

Install the package with Composer:

Publish the config and migration, then migrate:

Merchant API keys are stored with Laravel encrypted casts, so your application must have a stable APP_KEY.

Configuration

Set platform credentials when your app receives payments through one WiPay account:

Supported market request URLs are configured for TT, BB, GY, and JM. Override WIPAY_*_REQUEST_URL values if WiPay gives you a different endpoint.

Platform Checkout

Use platform checkout when the application owns the WiPay account.

For direct form integrations, call form() instead of create() and post the returned fields to action().

Merchant Credentials

Use merchant credentials when each shop, vendor, or tenant has its own WiPay account.

Then create a checkout for that owner:

Merchant checkout never falls back to platform credentials. Missing or disabled merchant credentials throw WipayUnavailableException.

Payment Links

Configured WiPay payment links are exposed without creating a checkout.

merchantLinks($owner) returns empty links when that owner has no enabled merchant credentials.

Return Verification

Verify WiPay return payloads before marking an order paid.

For merchant credentials, pass the mode and owner:

Webhooks

Enable the package webhook route when WiPay should post server-side updates to your app:

Listen for webhook events in your application:

When verifying webhooks the package will prefer a dedicated webhook secret when available rather than the API key. Behavior:

Return verification also emits WipayPaymentVerified or WipayPaymentRejected. Webhook handling emits WipayWebhookVerified or WipayWebhookRejected and always responds with HTTP 200.

Testing

Use Wipay::fake() to avoid live HTTP calls and assert checkout fields.

Run the package test suite with:

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-wipay with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^11.0||^12.0||^13.0
illuminate/database Version ^11.0||^12.0||^13.0
illuminate/http Version ^11.0||^12.0||^13.0
illuminate/routing Version ^11.0||^12.0||^13.0
illuminate/support Version ^11.0||^12.0||^13.0
spatie/laravel-package-tools Version ^1.16
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 maxiewright/laravel-wipay contains the following files

Loading the files please wait ...