PHP code example of crehler / inpost-pay
1. Go to this page and download the library: Download crehler/inpost-pay library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
crehler / inpost-pay example snippets
POST /checkout/inpost/basket/bind
POST /checkout/inpost/basket/bindBasket
[2025-12-01 10:30:45] app.INFO: Sprawdzamy webhooka:
[2025-12-01 10:30:45] app.INFO: Webhook event processed successfully {"event_type":"PAYMENT_AUTHORIZED","order_id":"abc123"}