rotassator/silvershop-payway
Composer 安装命令:
composer require rotassator/silvershop-payway
包简介
Westpac PayWay payment integration for SilverShop
README 文档
README
Westpac PayWay payment integration for SilverShop.
PayWay uses client-side JavaScript to generate tokens for using with their REST API instead of interacting with credit card details directly on your site.
To integrate the Omnipay PaywayRest adapter with SilverShop, this module overrides the default checkout component.
Status
To date, the following features have been implemented:
- create single-use token via PayWay JS credit card form
- create customer
- save customer number against Member for reuse
- make payment transaction
Kudos
Many thanks to the work done by Mark Guinn on the Braintree and Stripe modules.
Installation
Install the module using composer.
composer require rotassator/silvershop-payway
Create a config file (eg. mysite/_config/payment.yml) similar to the following:
---
Name: payment
---
Payment:
allowed_gateways:
- 'PaywayRest'
---
Except:
environment: 'live'
---
GatewayInfo:
PaywayRest:
parameters:
apiKeyPublic: PUBLISHABLE-KEY-FOR-TEST-ACCOUNT
apiKeySecret: SECRET-KEY-FOR-YOUR-TEST-ACCOUNT
merchantId: TEST
testMode: true
---
Only:
environment: 'live'
---
GatewayInfo:
PaywayRest:
parameters:
apiKeyPublic: PUBLISHABLE-KEY-FOR-LIVE-ACCOUNT
apiKeySecret: SECRET-KEY-FOR-YOUR-LIVE-ACCOUNT
merchantId: MERCHANT-ID
统计信息
- 总下载量: 955
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-24