Skip to content

Commit b9faa82

Browse files
Supported new parameters in Screen Order API
1 parent c1df83a commit b9faa82

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ To learn more about installation, usage, and code examples, please visit the dev
2727
| ------------------------------------ |
2828
| [objectOfOrder].CREDIT_CARD |
2929
| [objectOfOrder].PAYPAL |
30-
| [objectOfOrder].GOOGLE_CHECKOUT |
3130
| [objectOfOrder].CASH_ON_DELIVERY |
32-
| [objectOfOrder].MONEY_ORDER |
33-
| [objectOfOrder].WIRE_TRANSFER |
3431
| [objectOfOrder].BANK_DEPOSIT |
35-
| [objectOfOrder].BITCOIN |
32+
| [objectOfOrder].GIFT_CARD |
33+
| [objectOfOrder].CRYPTO |
34+
| [objectOfOrder].WIRE_TRANSFER |
3635
| [objectOfOrder].OTHERS |
3736

3837

docs/source/code.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,14 @@ Retrieve geolocation information for an IP address.
109109
| username | string | User's username. |
110110
| password | string | User's password. |
111111
| email | string | (optional) User's email address. |
112-
| phone | string | (optional) User's phone number. |
112+
| user_phone | string | (optional) User's phone number. |
113113
| bill_addr | string | (optional) Street address of billing address. |
114114
| bill_city | string | (optional) City of billing address. |
115115
| bill_state | string | (optional) State of billing address. It supports state codes, e.g. NY (New York), for state or province of United States or Canada.|
116116
| bill_country | string | (optional) Country of billing address. It requires the input of ISO-3166 alpha-2 country code, e.g. US for United States.|
117117
| bill_zip_code | string | (optional) Postal or ZIP code of billing address. |
118+
| ship_last_name | string | (optional) Receiver's last name. |
119+
| ship_first_name | string | (optional) Receiver's first name. |
118120
| ship_addr | string | (optional) Street address of shipping address. |
119121
| ship_city | string | (optional) City of shipping address. |
120122
| ship_state | string | (optional) State of shipping address. It supports state codes, e.g. NY - New York, for state or province of United States or Canada. |
@@ -124,12 +126,13 @@ Retrieve geolocation information for an IP address.
124126
| avs | string | (optional) The single character AVS result returned by the credit card processor. |
125127
| cvv | string | (optional) The single character CVV2 result returned by the credit card processor.<br/> This is not for the input of the actual CVV code from the back of the credit card. |
126128
| user_order_id | string | (optional) Merchant identifier to uniquely identify a transaction. It supports<br/> maximum of 15 characters user order id input. |
127-
| user_order_memo | string | (optional) Merchant description of an order transaction. It supports maximum of 200 characters. |
128-
| amount | float | (optional) Amount of the transaction. |
129+
| user_order_memo | string | (optional) Merchant description of an order transaction. It supports maximum of 200 characters. |
130+
| amount | float | (optional) Amount of the transaction. |
129131
| quantity | integer | (optional) Total quantity of the transaction. |
130132
| currency | string | (optional) Currency code used in the transaction. It requires the input of<br/> ISO-4217 (3 characters) currency code, e.g. USD for US Dollar. |
131133
| department | string | (optional) Merchant identifier to uniquely identify a product or service department. |
132-
| payment_mode | string | (optional) Payment mode of transaction. Valid values: creditcard \| affirm \| paypal \| googlecheckout \| bitcoin \| cod \| moneyorder \| wired \|<br/> bankdeposit \| elviauthorized \| paymitco \| cybersource \| sezzle \| viabill \| amazonpay \| pmnts_gateway \| giftcard \| ewayrapid \| others. |
134+
| payment_gateway | string | (optional) The name of payment gateway used to capture the payment. |
135+
| payment_mode | string | (optional) Payment mode of transaction. Valid values: creditcard \| paypal \| cod \| bankdeposit \| giftcard \| crypto \| wired \| others |
133136
134137
:return: Returns the geolocation information in array. Refer below table for the fields avaliable in the array
135138
:rtype: array

docs/source/quickstart.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ public class Main {
5050
data.put("amount", "79.89");
5151
data.put("quantity", "1");
5252
data.put("currency", "USD");
53+
data.put("payment_gateway", "stripe");
5354
data.put("payment_mode", order.CREDIT_CARD); // Please refer reference section for full list of payment methods
5455

5556
// Shipping information
57+
data.put("ship_first_name", "Hector");
58+
data.put("ship_last_name", "Henderson");
5659
data.put("ship_addr", "4469 Chestnut Street");
5760
data.put("ship_city", "Tampa");
5861
data.put("ship_state", "FL");

src/com/fraudlabspro/FraudLabsPro.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class FraudLabsPro {
66
*
77
* string
88
*/
9-
public static final String VERSION = "4.0.0";
9+
public static final String VERSION = "4.0.1";
1010

1111
/**
1212
* API KEY From Merchant

src/com/fraudlabspro/Order.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ public class Order{
3030
*/
3131
public final String CREDIT_CARD = "CREDITCARD";
3232
public final String PAYPAL = "PAYPAL";
33-
public final String GOOGLE_CHECKOUT = "GOOGLECHECKOUT";
3433
public final String CASH_ON_DELIVERY = "COD";
35-
public final String MONEY_ORDER = "MONEYORDER";
36-
public final String WIRE_TRANSFER = "WIRED";
3734
public final String BANK_DEPOSIT = "BANKDEPOSIT";
38-
public final String BITCOIN = "BITCOIN";
35+
public final String GIFT_CARD = "GIFTCARD";
36+
public final String CRYPTO = "CRYPTO";
37+
public final String WIRE_TRANSFER = "WIRED";
3938
public final String OTHERS = "OTHERS";
4039

4140
/**

0 commit comments

Comments
 (0)