Examples
Callbacks
Post Shopping Cart Checkout Callback
$callbackId = $retailysService->postShoppingCartCheckoutCallback($token, [
'position' => 'payment',
'path' => 'create-payment',
'method' => 'POST',
'redirect' => true,
'parameters' => [
[
'name' => 'orderId',
'variable' => '%orderId%',
],
[
'name' => 'channelId',
'variable' => '%channelId%',
],
],
'condition' => '%channelId% == '.$existingChannel->getChannelId().' and %paymentProvider% == 9',
]);View rendering
Snippets
Static Snippet
Post Layout
Put Layout
Dynamic Snippet
Post dynamic snippet into shopping cart on thank you page
Last updated
Was this helpful?