BConnect Business - Reference PHP

StripeService
in package

Table of Contents

Properties

$stripeSecretKey  : string

Methods

__construct()  : mixed
createCheckoutSession()  : Session
Create session checkout with stripe

Properties

Methods

__construct()

public __construct(string $stripeSecretKey) : mixed
Parameters
$stripeSecretKey : string

createCheckoutSession()

Create session checkout with stripe

public createCheckoutSession(array<string|int, mixed> $linesItems, string $successUrl, string $cancelUrl) : Session
Parameters
$linesItems : array<string|int, mixed>
$successUrl : string
$cancelUrl : string
Return values
Session
On this page

Search results