### Install WayForPay PHP SDK with Composer Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Instructions for installing the WayForPay PHP SDK using Composer, the standard dependency manager for PHP. This includes downloading Composer and requiring the SDK package. ```Bash curl -sS https://getcomposer.org/installer | php php composer.phar require wayforpay/php-sdk ``` -------------------------------- ### Charge Example Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Illustrates how to perform a charge operation using the WayForPay PHP SDK. It shows the command-line execution and the resulting status of the charge. ```Bash $ php examples/charge.php ``` -------------------------------- ### WayForPay Purchase Widget Example Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Example code showing how to integrate the WayForPay PHP SDK to display a payment widget. This allows for a more embedded payment experience within your application. ```PHP See [purchase-widget.php](examples/purchase-widget.php). ``` -------------------------------- ### WayForPay Purchase Form Example Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Example code demonstrating how to use the WayForPay PHP SDK to create a purchase form. This typically involves setting up transaction details and generating a payment request. ```PHP See [purchase.php](examples/purchase.php). ``` -------------------------------- ### Complete 3DS Authentication Example Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Shows how to complete a 3D Secure authentication process with the WayForPay PHP SDK. It displays the command-line execution and the final status after authentication. ```Bash $ php examples/complete-3ds.php ``` -------------------------------- ### Refund Example Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Illustrates how to process a refund for a transaction using the WayForPay PHP SDK. It shows the command-line execution and the resulting order status after the refund. ```Bash $ php examples/refund.php ``` -------------------------------- ### List Transactions Example Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Demonstrates how to retrieve a list of transactions using the WayForPay PHP SDK. It shows the command-line execution and the expected output format for transaction details. ```Bash $ php examples/transaction-list.php ``` -------------------------------- ### Check Order Example Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Demonstrates how to check the status of an order using the WayForPay PHP SDK. It shows the command-line execution and the retrieved order status. ```Bash $ php examples/check.php ``` -------------------------------- ### Clone the Repository Source: https://github.com/wayforpay/php-sdk/blob/master/CONTRIBUTING.md Clone the project repository to your local machine. This is the initial step to begin contributing changes or developing new features. ```bash git clone git@github.com:your-username/php-jsonrpc-server-sdk.git ``` -------------------------------- ### Include Composer Autoloader in PHP Source: https://github.com/wayforpay/php-sdk/blob/master/README.md Demonstrates how to include the Composer autoloader file in your PHP project to make the WayForPay SDK classes available for use. ```PHP require 'vendor/autoload.php'; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.