README.md in bckbn-2.2.1 vs README.md in bckbn-3.0.0
- old
+ new
@@ -18,11 +18,11 @@
```ruby
require "bckbn"
Bckbn.api_base = "..."
Bckbn.access_token = "..."
-Bckbn.merchant_id = "..."
+Bckbn.worldpay_merchant_id = "..."
Bckbn::Transaction.capture({
litle_txn_id: "13254123434",
id: "12345",
report_group: "ABC Division"
@@ -34,11 +34,11 @@
```ruby
require "bckbn"
api_base = "..."
access_token = "..."
-merchant_id = "..."
+worldpay_merchant_id = "..."
idempotency_key = "..."
Bckbn::Transaction.capture(
{
litle_txn_id: "13254123434",
@@ -46,10 +46,10 @@
report_group: "ABC Division"
},
{
api_base: api_base,
access_token: access_token,
- merchant_id: merchant_id,
+ worldpay_merchant_id: worldpay_merchant_id,
idempotency_key: idempotency_key
}
)
```