globalis/chargebee-php-sdk-wp

chargebee-php-sdk integration for WordPress

1.0.2 2022-03-09 15:08 UTC

This package is auto-updated.

Last update: 2024-12-09 21:30:18 UTC


README

Packagist Latest Stable Version License

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);

Screenshots

chargebee-php-sdk-wp query-monitor