Tsugi

Stripe extends Controller
in package

Stripe Checkout routes for premium / supporter payments.

Table of Contents

Constants

ROUTE  : mixed = '/stripe'

Methods

checkoutUrl()  : string
getCancel()  : mixed
getCheckout()  : mixed
getSuccess()  : mixed
postCheckout()  : mixed
postWebhook()  : mixed
Stripe webhook fulfillment.
routes()  : mixed

Constants

ROUTE

public mixed ROUTE = '/stripe'

Methods

checkoutUrl()

public static checkoutUrl(mixed $CFG) : string
Parameters
$CFG : mixed
Return values
string

postWebhook()

Stripe webhook fulfillment.

public static postWebhook(Application $app) : mixed

Local dev: stripe listen --forward-to https://local.py4e.com/stripe/webhook

Parameters
$app : Application

routes()

public static routes(Application $app[, mixed $prefix = self::ROUTE ]) : mixed
Parameters
$app : Application
$prefix : mixed = self::ROUTE

        
On this page

Search results