globalis / chargebee-php-sdk-wp
chargebee-php-sdk integration for WordPress
1.0.2
2022-03-09 15:08 UTC
Requires
- php: ^7.4 || ^8.0 || ^8.1
- globalis/chargebee-php-sdk: ^1.0
- globalis/wp-cubi-helpers: ^1.0
Requires (Dev)
- php-http/guzzle7-adapter: ^1.0.0
- squizlabs/php_codesniffer: ^3.6
This package is auto-updated.
Last update: 2024-12-09 21:30:18 UTC
README
Overview
WordPress integration for globalis/chargebee-php-sdk
Features
- Convert PSR-14 events into WordPress hooks
- Add query-monitor integration
Installation
composer require globalis/chargebee-php-sdk-wp
Basic usage
<?php add_action('globalis/chargebee_api_response', function($event) { // $event contains data about the API request and response // do something }, 10, 1); add_action('globalis/chargebee_api_error', function($event) { // $event contains data about the API request and response // do something }, 10, 1);