Download the PHP package mydevcodes/ipaymer-php without Composer
On this page you can find all versions of the php package mydevcodes/ipaymer-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mydevcodes/ipaymer-php
More information about mydevcodes/ipaymer-php
Files in mydevcodes/ipaymer-php
Package ipaymer-php
Short Description The official iPaymer PHP library
License MIT
Homepage https://github.com/mydevcodes/ipaymer-php
Informations about the package ipaymer-php
iPaymer PHP
[](https://packagist.org/packages/mydevcodes/ ipaymer-php) [](https://packagist.org/packages/mydevcodes/ ipaymer-php)
Once you complete your iPaymer account there comes a time when you need to connect it to your application. This package is your best buddy when it comes to integrating iPaymer into your PHP Application. If your platform is not whitelisted by iPaymer you won't be able to use this library.
Installation
You can install the package via composer:
Usage
The simplest way to call iPaymer PHP:
Methods
Create a customer
Creating a customer also requires a subscription and a credit card to be attached.
Redirection links
These helper methods will construct redirection links to iPaymer for different methods
New subscription / Upgrade to package
New card
Assign Plan
Assign a specific plan to a customer. This won't replace any of his previous active plans.
Switch Plan
Replace a specific plan with another. Often used within upgrades/downgrades.
Payment Plans [DEPRACATED]
All your payment plans should be already registered in iPaymer. If a customer is defined only the plans attached to the same payment gateway will be returned.
Status
Returns customer status on each plan separately. If a customer has 2 plans it will return the status and extra information regarding those plans.
Invoices
Returns all customer invoices in a descending order
Generate custom invoice
Cancel Plan
Cancels a plan in customers billing cycle
Remove Card
Removes a card from a customer
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Mustafe Hyseni
- Mydev.com
- All Contributors
License
The MIT License (MIT). Please see License File for more information.