vendoservices/vendo-sdk
最新稳定版本:v2.2.0
Composer 安装命令:
composer require vendoservices/vendo-sdk
包简介
Vendo Services SDK for PHP
README 文档
README
This SDK helps developers to integrate with Vendo Services platform.
Install using composer require vendoservices/vendo-sdk
See on Packagist
API documentation
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 verification_id
$response->getResultDetails()->getVerificationId()
// something like '1234567890'
-
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 Crypto verification
- use verification_id you have saved in step 2.
$paymentDetails->setVerificationId(1234567890);
-
Check the Backoffice 'Sales' -> 'Transactions', you should see 2 successful transactions:
- Verification
- S2S Payment
Changelog
v2.2.0
- Added Google Pay support
v2.1.1
- Added recurring SEPA example
v2.1.0
- Upgraded PHP version, minor improvements
v2.0.15
- Added support for
currencyparameter in Refund APIs
v2.0.14
- Added support for
reactivate_subscriptionparameter in S2S Change Subscription API
v2.0.13
- Remove requirement of the Shipping Address object
v2.0.12
- Added support for "OXXO" transactions
- A minor fix
v2.0.11
- Added support for "Pay by Bank" transactions
- A minor fix
v2.0.10
- Fixed password encryption algorithm
- A minor fix
v2.0.9
- Added cross-sale support
v2.0.8
- A minor fix
v2.0.7
- Support for custom PaymentResponse
v2.0.6
- Bugfix: added missed parameters in SubscriptionBase::postRequest
v2.0.5
- New feature: Reactivate API endpoint support
v2.0.4
- New feature: added sucess_url parameter
v2.0.3
- Bug fix: added missing subscription_id
v2.0.2
- New feature: S2S Payment API - item id can now hold any string value
- Dockerized examples
v2.0.1
- Updated the internal version number
v2.0.0
- Fixed support for SEPA payment method in S2S Payment API
Backwards-incompatible changes
- Renamed Gateway to S2S
- Removed deprecated classes
- Reorganized other classes and namespaces
v1.0.7
- Added support for
non_recurringparameter in S2S Payment API
v1.0.6
- Added support for Cryptocurrency payment method in S2S Payment API
统计信息
- 总下载量: 37.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2021-06-11