定制 pixwell-dev/laravel-adyen-checkoutapi 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

pixwell-dev/laravel-adyen-checkoutapi

最新稳定版本:0.2.2

Composer 安装命令:

composer require pixwell-dev/laravel-adyen-checkoutapi

包简介

adyen checkout api

README 文档

README

Latest Version on Packagist Build Status SensioLabsInsight Quality Score Total Downloads

This is a laravel bridge for Adyen Checkout api. Support only two methods setup and verify. With additional check for price after verify call, supported with redis.

Installation

You can install the package via composer:

composer require pixwell-dev/laravel-adyen-checkoutapi

Usage

Setup method

$setupRequest = (new SetupRequest('client_sdk_token', 'channel'))
				->setAmount($request->amount);
				
$response = app(AdyenCheckoutApi::class)->setup($setupRequest);
Additional methods
  • setShopperReference(''): Internal Shopper reference.
  • setCountryCode(''): A valid value is an ISO 2-character country code.
  • setShopperLocale(''):The shopper language: Example: nl_NL or en_GB.
  • setReturnUrl(''): URL/app that will be opened in case a redirect payment method is used.
  • setReference(''): A unique reference you provide to the transaction, will be used for updates to the payment like refunds.
  • setSessionValidity(OneSignalButton $button): The payment deadline; the payment needs to be processed within the specified time value: Format: ISO 8601;

Verify method

$response = app(AdyenCheckoutApi::class)->verify($payload, $price);

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email developer@pixwell.sk instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 665
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-29