Skip to content

Commit 6843da9

Browse files
authored
Update HamrahPay.java
Add Library Version in pay request
1 parent 33b8f2b commit 6843da9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hamrahpay/src/main/java/ir/devage/hamrahpay/HamrahPay.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,9 @@ protected Map<String, String> getParams() throws AuthFailureError {
433433
params.put(SKU_TAG, sku);
434434
params.put(DEVICE_ID_TAG, deviceID);
435435
params.put(VERIFICATION_TYPE_TAG, getVerificationType());
436-
436+
params.put(LIBRARY_VERSION, "3");
437+
params.put(LIBRARY_NAME,"ANDROID_STUDIO_JAVA");
438+
437439
try {
438440

439441
params.put(APPLICATION_PACKAGE_ID, dialogContext.getPackageName());

0 commit comments

Comments
 (0)