This SDK helps developers to integrate with Vendo Services platform.
Install using composer require vendoservices/vendo-sdk
See on Packagist
https://docs.vendoservices.com/reference/misc
Important for 2-step payments with the authorisation step: 3DS, Cryptocurrency, PIX
Please follow carefully 2 Step payment docs and pay attention to close the transaction with the 2nd, final request.
Example flow:
-
Save the token
$token = $response->getPaymentToken();
// something like '2093c199fc3e20ee45af8ed07af0ddf5'
-
Redirect the user to the verification url you got in the response
$verificationUrl = $response->getResultDetails()->getVerificationUrl();
// example: 'https://secure.vend-o.com/v/verification?transaction_id=240359080&systemsignature=moJpFrKRgo5PkP9sqStN6iJC6v8'
-
After authorization is completed call Token example
- use token you have saved in step 2.
-
Check the Backoffice 'Sales' -> 'Transactions', you should see 2 successful transactions:
- Verification
- S2S Payment
- Added support for "Pay by Bank" transactions
- A minor fix
- Fixed password encryption algorithm
- A minor fix
- Added cross-sale support
- A minor fix
- Support for custom PaymentResponse
- Bugfix: added missed parameters in SubscriptionBase::postRequest
- New feature: Reactivate API endpoint support
- New feature: added sucess_url parameter
- Bug fix: added missing subscription_id
- New feature: S2S Payment API - item id can now hold any string value
- Dockerized examples
- Updated the internal version number
- Fixed support for SEPA payment method in S2S Payment API
- Renamed Gateway to S2S
- Removed deprecated classes
- Reorganized other classes and namespaces
- Added support for
non_recurring
parameter in S2S Payment API
- Added support for Cryptocurrency payment method in S2S Payment API