{"repo":"PiteurStudio/satim-php","free":true,"listed":false,"github":"https://github.com/PiteurStudio/satim-php","clone":"git clone https://github.com/PiteurStudio/satim-php.git","description":"PHP package to interact with Satim.dz API","language":"PHP","stars":36,"topics":["algeria","cib","cibweb","edahabia","php","satim","payment-gateway","payment-integration"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Satim.dz PHP Client A fully open-source PHP package for seamless integration with Satim.dz , the official interbank payment gateway in Algeria. This package enables merchants and developers to generate secure payment links and retrieve payment statuses directly via the Satim API, facilitating transactions through both CIB and Edahabia cards. ### Requirements PHP 8.1 or higher Satim.dz API credentials (username, password, terminal ID) via CIBWeb.dz. Installation You can install the package via composer: Usage Configuration Configure your Satim.dz API credentials using your project's preferred method of storing sensitive information. Credentials example: Initialization Create a new Satim client by passing your API credentials: Main Methods The Satim provides the following methods: - Register a new payment order: register() - Confirm the status of a payment: confirm($orderId) - Refund a payment: refund($orderId) - Retrieve payment status: status($orderId) Generate a Payment Link Create a payment link with a few simple method calls: Optional configuration methods: Method Parameters Description Default Behavior --------------------- ----------------------- ----------------------------------------- --------------------------------- description string $description Add a description to the payment Not set failUrl string $url Set a custom fail redirect URL Uses returnUrl() orderNumber int $orderNumber Use a custom 10-digit order number Randomly generated testMode bool $isEnabled Enabl","default_branch":null,"files":null,"tree":[],"storefront":"/r/PiteurStudio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PiteurStudio/satim-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}