-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to cURL for API requests in Zibal driver (#283)
* Switch to cURL for API requests in Zibal driver Replaced the HTTP client code with cURL to handle API requests for the Zibal payment gateway. The change aims to streamline the request process, encapsulating the data and headers setup within the cURL functions. * Refactor Zibal verification to use cURL instead of client This change removes the client object and switches to using cURL for handling the payment verification process. The updated implementation uses direct cURL functions to set the request parameters and handle the response, streamlining the verification process. Additionally, the `orderId` variable was removed as it was unused.
- Loading branch information
1 parent
ac3605e
commit 24eafe9
Showing
1 changed file
with
51 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters