blockchyp 2.8.0 → 2.9.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6311818275d02fffb4fa761ed138fe153fc0174554cd58d266598297f3bead2
4
- data.tar.gz: 829e58d5c344966d4234491292cb3a2028d38354886f11ac109a5ba528651a2d
3
+ metadata.gz: dec22643781b543109c1ee22be54efbf5ebc23bb3978ca4b3a2a28d0b87acfef
4
+ data.tar.gz: ff30a6fc2884d6be12e4909a186278115998c158c9e6a26db804e7007057cc63
5
5
  SHA512:
6
- metadata.gz: b6374621cc00cfbd752c0c5d1e9d1aa48afe69c0903bed9e02cc4dce9eb22261236a7e78b11e0f8210c696cbf0fa106589bb3658d4290c4677e7a2c4ffde4e7c
7
- data.tar.gz: 363fda14eb08bd969f4838ee2325febe8632b5a9e0c6b36c532c16cbf7174594c0e2177f79e5c8dc7655f61d5d7cb64878812e38c615deefc0277358c50bdbb7
6
+ metadata.gz: f741102b25ab25adaed040dd0aff5b1b620bc1af19ada27358a1077c62ae339a10a5b151b4e2f961b3f6abec1ec3242f649f85cdc40f371f057494710ff66fb7
7
+ data.tar.gz: 494b8f6c7b8f4acf2c2b5de9ee030401414ee7022997b5a3bbdcb7ba47914d56b13a69e1353d826b1f2e51e621952d7dab283bcb2242bf87c558cfc3d4ab21d8
data/README.md CHANGED
@@ -135,20 +135,20 @@ property instead.
135
135
 
136
136
  **Card Numbers and Mag Stripes**
137
137
 
138
- You can also pass in PANs and Mag Stripes, but you probably shouldn't. This will
138
+ You can also pass in PANs and Mag Stripes, but you probably shouldn't. This will
139
139
  put you in PCI scope and the most common vector for POS breaches is key logging.
140
140
  If you use terminals for manual card entry, you'll bypass any key loggers that
141
141
  might be maliciously running on the point-of-sale system.
142
142
 
143
143
  **Common Variations**
144
144
 
145
- * **Gift Card Redemption**: There's no special API for gift card redemption in BlockChyp. Just execute a plain charge transaction and if the customer happens to swipe a gift card, our terminals will identify the gift card and run a gift card redemption. Also note that if for some reason the gift card's original purchase transaction is associated with fraud or a chargeback, the transaction will be rejected.
146
- * **EBT**: Set the `ebt` flag to process an EBT SNAP transaction. Note that test EBT transactions alway assume a balance of $100.00, so test EBT transactions over that amount may be declined.
147
- * **Cash Back**: To enable cash back for debit transactions, set the `cashBack` flag. If the card presented isn't a debit card, the `cashBack` flag will be ignored.
148
- * **Manual Card Entry**: Set the `manual` flag to enable manual card entry. Good as a backup when chips and MSR's don't work or for more secure phone orders. You can even combine the `manual` flag with the `ebt` flag for manual EBT card entry.
149
- * **Inline Tokenization**: You can enroll the payment method in the token vault inline with a charge transaction by setting the `enroll` flag. You'll get a token back in the response. You can even bind the token to a customer record if you also pass in customer data.
150
- * **Prompting for Tips**: Set the `promptForTips` flag if you'd like to prompt the customer for a tip before authorization. Good for pay-at-the-table and other service related scenarios.
151
- * **Cash Discounting and Surcharging**: The `surcharge` and `cashDiscount` flags can be used together to support cash discounting or surcharge problems. Consult the Cash Discount documentation for more details.
145
+ * **Gift Card Redemption**: There's no special API for gift card redemption in BlockChyp. Just execute a plain charge transaction and if the customer happens to swipe a gift card, our terminals will identify the gift card and run a gift card redemption. Also note that if for some reason the gift card's original purchase transaction is associated with fraud or a chargeback, the transaction will be rejected.
146
+ * **EBT**: Set the `CardType` field to `CardType::EBT` to process an EBT SNAP transaction. Note that test EBT transactions always assume a balance of $100.00, so test EBT transactions over that amount may be declined.
147
+ * **Cash Back**: To enable cash back for debit transactions, set the `CashBack` field. If the card presented isn't a debit card, the `CashBack` field will be ignored.
148
+ * **Manual Card Entry**: Set the `ManualEntry` field to enable manual card entry. Good as a backup when chips and MSR's don't work or for more secure phone orders. You can even combine the `ManualEntry` field with the `CardType` field set to `CardType::EBT` for manual EBT card entry.
149
+ * **Inline Tokenization**: You can enroll the payment method in the token vault inline with a charge transaction by setting the `Enroll` field. You'll get a token back in the response. You can even bind the token to a customer record if you also pass in customer data.
150
+ * **Prompting for Tips**: Set the `PromptForTip` field if you'd like to prompt the customer for a tip before authorization. Good for pay-at-the-table and other service related scenarios.
151
+ * **Cash Discounting and Surcharging**: The `Surcharge` and `CashDiscount` fields can be used together to support cash discounting or surcharge problems. Consult the Cash Discount documentation for more details.
152
152
 
153
153
 
154
154
 
@@ -209,10 +209,10 @@ might be maliciously running on the point-of-sale system.
209
209
 
210
210
  **Common Variations**
211
211
 
212
- * **Manual Card Entry**: Set the `manual` flag to enable manual card entry. Good as a backup when chips and MSR's don't work or for more secure phone orders. You can even combine the `manual` flag with the `ebt` flag for manual EBT card entry.
213
- * **Inline Tokenization**: You can enroll the payment method in the token vault in line with a charge transaction by setting the `enroll` flag. You'll get a token back in the response. You can even bind the token to a customer record if you also pass in customer data.
214
- * **Prompting for Tips**: Set the `promptForTips` flag if you'd like to prompt the customer for a tip before authorization. You can prompt for tips as part of a preauthorization, although it's not a very common approach.
215
- * **Cash Discounting and Surcharging**: The `surcharge` and `cashDiscount` flags can be used together to support cash discounting or surcharge problems. Consult the Cash Discount documentation for more details.
212
+ * **Manual Card Entry**: Set the `ManualEntry` field to enable manual card entry. Good as a backup when chips and MSR's don't work or for more secure phone orders. You can even combine the `ManualEntry` field with `CardType` set to `CardType::EBT` for manual EBT card entry.
213
+ * **Inline Tokenization**: You can enroll the payment method in the token vault in line with a charge transaction by setting the `Enroll` field. You'll get a token back in the response. You can even bind the token to a customer record if you also pass in customer data.
214
+ * **Prompting for Tips**: Set the `PromptForTip` field if you'd like to prompt the customer for a tip before authorization. You can prompt for tips as part of a preauthorization, although it's not a very common approach.
215
+ * **Cash Discounting and Surcharging**: The `Surcharge` and `CashDiscount` fields can be used together to support cash discounting or surcharge problems. Consult the Cash Discount documentation for more details.
216
216
 
217
217
 
218
218
 
@@ -311,7 +311,7 @@ call this a *free range refund*.
311
311
  We don't recommend it, but it is permitted. If you absolutely insist on
312
312
  doing it, pass in a Terminal Name and an amount.
313
313
 
314
- You can execute a manual or keyed refund by passing the `manual` flag
314
+ You can execute a manual or keyed refund by passing the `ManualEntry` field
315
315
  to a free range refund request.
316
316
 
317
317
  **Gift Card Refunds**
@@ -1623,7 +1623,7 @@ most recent transactions.
1623
1623
 
1624
1624
  **Limiting Results**
1625
1625
 
1626
- This API will return a maximum of 250 results in a single query. Use the `maxResults` property
1626
+ This API will return a maximum of 50 results in a single query. Use the `maxResults` property
1627
1627
  to limit maximum results even further and use the `startIndex` property to
1628
1628
  page through results that span multiple queries.
1629
1629
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BlockChyp
4
- VERSION = '2.8.0'
4
+ VERSION = '2.9.3'
5
5
  end
data/lib/blockchyp.rb CHANGED
@@ -42,6 +42,14 @@ module AVSResponse
42
42
  ADDRESS_AND_POSTAL_CODE_MATCH = 'match'
43
43
  end
44
44
 
45
+ module CVMType
46
+ SIGNATURE = 'Signature'
47
+ OFFLINE_PIN = 'Offline PIN'
48
+ ONLINE_PIN = 'Online PIN'
49
+ CDCVM = 'CDCVM'
50
+ NO_CVM = 'No CVM'
51
+ end
52
+
45
53
  module BlockChyp
46
54
  # the main autogenerated blockchyp client
47
55
  class BlockChyp < BlockChypClient
@@ -137,7 +145,7 @@ module BlockChyp
137
145
  gateway_request('POST', '/api/capture', request)
138
146
  end
139
147
 
140
- # Discards a previous preauth transaction.
148
+ # Discards a previous transaction.
141
149
  def void(request)
142
150
  gateway_request('POST', '/api/void', request)
143
151
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blockchyp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BlockChyp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: