承接 vendoservices/vendo-sdk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Call Cryptocurrency payment example

  2. Save the verification_id

    $response->getResultDetails()->getVerificationId()

    // something like '1234567890'

  3. 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'

  4. After authorization is completed call Crypto verification

    • use verification_id you have saved in step 2.

    $paymentDetails->setVerificationId(1234567890);

  5. 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 currency parameter in Refund APIs

v2.0.14

  • Added support for reactivate_subscription parameter 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_recurring parameter 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

GitHub 信息

  • Stars: 7
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2021-06-11