Download the PHP package placetopay/bancolombia-sdk without Composer
On this page you can find all versions of the php package placetopay/bancolombia-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download placetopay/bancolombia-sdk
More information about placetopay/bancolombia-sdk
Files in placetopay/bancolombia-sdk
Package bancolombia-sdk
Short Description A library to connect with Bancolombia APIs
License MIT
Informations about the package bancolombia-sdk
Bancolombia Button SDK
Allows to connect with the payments button provided by Bancolombia
Docs https://developer.bancolombia.com/en/node/3252
Installation
Usage
Create an instance of the library
Provide the configuration settings for the process, you can find the client ID in the apps page https://developer.bancolombia.com/en/application but the secret will display only when the app is created, after that it cannot be obtained again.
Hash is the value that would be translated to commerceTransferButtonId on them. This value will be provided by them
Create a new payment intent
This will return an URL in which the user should be redirected to complete the process
Handling the callback
Once a transaction is finished a POST call will be sent to the confirmation URL provided previously, to handle that you just need to make that data into an array and pass it to the SDK
Query the status of a transference
Although you should really rely on the callback to know the state of a payment, this service also provide you with the state of the payment
Check the health status of the button
Allows to check if the service is running properly
All versions of bancolombia-sdk with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^6.5.5|^7.0.1
psr/log Version ^1.1
psr/simple-cache Version ^1.0