README.md in active_merchant-epsilon-0.11.0 vs README.md in active_merchant-epsilon-0.12.0

- old
+ new

@@ -305,10 +305,14 @@ ### Epsilon Link Payment EpsilosLinkPaymentGateway is available in all link payments. For example, GMO Payment After Delivery. +If you don't need to send paramaters of delivery information details(e.g. consignee_postal, consignee_name, orderer_postal, and orderer_name), you set `delivery_info_required` to `false`. + +Default value of `delivery_info_required` is `true`, therefore you must set delivery information details to purchase_detail When you don't set `delivery_info_required`. + ```ruby ActiveMerchant::Billing::EpsilonLinkPaymentGateway.contract_code = 'YOUR_CONTRACT_CODE' gateway = ActiveMerchant::Billing::EpsilonLinkPaymentGateway.new @@ -333,10 +337,12 @@ orderer_tel: '0312345678', memo1: 'memo1', memo2: 'memo2', } -response = gateway.purchase(amount, purchase_detail) +delivery_info_required = true + +response = gateway.purchase(amount, purchase_detail, delivery_info_required) if response.success? puts "Successfully send order data" puts "Redirect url is #{response.params['redirect']}" else