README.md in active_merchant-epsilon-0.5.8 vs README.md in active_merchant-epsilon-0.5.9
- old
+ new
@@ -1,9 +1,8 @@
# ActiveMerchant::Epsilon
[![Gem](https://img.shields.io/gem/v/active_merchant-epsilon.svg?style=flat-square)](https://rubygems.org/gems/active_merchant-epsilon)
[![Build Status](https://travis-ci.org/pepabo/active_merchant-epsilon.svg?branch=master)](https://travis-ci.org/pepabo/active_merchant-epsilon)
-[![wercker status](https://app.wercker.com/status/43c6648e20f325c8c0a560c36e89781c/s/master "wercker status")](https://app.wercker.com/project/bykey/43c6648e20f325c8c0a560c36e89781c)
[Epsilon](http://www.epsilon.jp/) integration for ActiveMerchant.
## Installation
@@ -63,10 +62,12 @@
user_name: '山田 太郎',
user_email: 'yamada-taro@example.com',
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: 'UNIQUE ORDER NUMBER',
+ memo1: 'memo1',
+ memo2: 'memo2',
}
if credit_card.validate.empty?
# Capture 10000 yen from the credit card
response = gateway.purchase(amount, credit_card, purchase_detail)
@@ -101,10 +102,12 @@
user_email: 'yamada-taro@example.com',
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: 'UNIQUE ORDER NUMBER',
three_d_secure_check_code: 1,
+ memo1: 'memo1',
+ memo2: 'memo2',
}
if credit_card.validate.empty?
response = gateway.purchase(amount, credit_card, purchase_detail)
@@ -147,10 +150,12 @@
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: 'UNIQUE ORDER NUMBER',
credit_type: ActiveMerchant::Billing::EpsilonGateway::CreditType::INSTALLMENT,
payment_time: 3, # 3, 5, 6, 10, 12, 15, 18, 20, 24
+ memo1: 'memo1',
+ memo2: 'memo2',
}
# (snip)
```
@@ -165,10 +170,12 @@
user_email: 'yamada-taro@example.com',
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: 'UNIQUE ORDER NUMBER',
credit_type: ActiveMerchant::Billing::EpsilonGateway::CreditType::REVOLVING,
+ memo1: 'memo1',
+ memo2: 'memo2',
}
# (snip)
```
@@ -190,9 +197,11 @@
user_name: '山田 太郎',
user_email: 'yamada-taro@example.com',
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: 'UNIQUE ORDER NUMBER',
+ memo1: 'memo1',
+ memo2: 'memo2',
}
if credit_card.validate.empty?
# 10000 yen as convenience store paymet
response = gateway.purchase(amount, convenience_store, purchase_detail)