-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
83 changed files
with
319 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.payu.custombrowser" | ||
android:versionCode="41" | ||
android:versionName="7.6.1" > | ||
android:versionCode="48" | ||
android:versionName="7.8.0" > | ||
|
||
<uses-sdk | ||
android:minSdkVersion="15" | ||
android:targetSdkVersion="27" /> | ||
android:minSdkVersion="19" | ||
android:targetSdkVersion="29" /> | ||
|
||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
|
||
<!-- Permission Disabled --> | ||
<!-- <uses-permission --> | ||
<!-- android:name="android.permission.RECEIVE_SMS" --> | ||
<!-- android:protectionLevel="signature" /> --> | ||
<application android:usesCleartextTraffic="false" > | ||
|
||
<application android:usesCleartextTraffic="false"> | ||
<activity | ||
android:name="com.payu.custombrowser.CBActivity" | ||
android:name=".CBActivity" | ||
android:screenOrientation="portrait" | ||
android:windowSoftInputMode="stateAlwaysHidden" /> | ||
|
||
<service android:name="com.payu.custombrowser.services.SnoozeService" /> | ||
|
||
<activity android:name="com.payu.custombrowser.PreLollipopPaymentsActivity" > | ||
<intent-filter> | ||
<data android:scheme="${applicationId}.success" /> | ||
|
||
<action android:name="android.intent.action.VIEW" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
</intent-filter> | ||
<intent-filter> | ||
<data android:scheme="${applicationId}.failure" /> | ||
|
||
<action android:name="android.intent.action.VIEW" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:name="com.payu.custombrowser.PrePaymentsActivity" /> | ||
<service android:name=".services.SnoozeService" /> | ||
</application> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
### Integration of Custom Browser (Latest version 7.6.4) | ||
|
||
### Integration of Custom Browser (Latest version 7.8.0) | ||
|
||
Go to this document: | ||
https://payumobile.gitbook.io/sdk-integration/android/custom-browser | ||
https://payumobile.gitbook.io/sdk-integration/android/custom-browser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
File renamed without changes
Binary file not shown.
File renamed without changes
File renamed without changes
0
res/drawable-xhdpi-v4/citi.png → res/drawable-xhdpi/citi.png
100644 → 100755
File renamed without changes
File renamed without changes
File renamed without changes
0
res/drawable-xhdpi-v4/hsbc.png → res/drawable-xhdpi/hsbc.png
100644 → 100755
File renamed without changes
0
res/drawable-xhdpi-v4/icici.png → res/drawable-xhdpi/icici.png
100644 → 100755
File renamed without changes
0
res/drawable-xhdpi-v4/idbi.png → res/drawable-xhdpi/idbi.png
100644 → 100755
File renamed without changes
File renamed without changes
File renamed without changes
0
res/drawable-xhdpi-v4/kotak.png → res/drawable-xhdpi/kotak.png
100644 → 100755
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
0
res/drawable-xhdpi-v4/sbi.png → res/drawable-xhdpi/sbi.png
100644 → 100755
File renamed without changes
0
res/drawable-xhdpi-v4/scblogo.png → res/drawable-xhdpi/scblogo.png
100644 → 100755
File renamed without changes
0
res/drawable-xhdpi-v4/slider.png → res/drawable-xhdpi/slider.png
100644 → 100755
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Diff not rendered.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Diff not rendered.
File renamed without changes
Empty file.
Empty file.
Empty file.
Empty file.
File renamed without changes.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
7 changes: 3 additions & 4 deletions
7
res/values-large-v22/values-large-v22.xml → res/values-large-v22/styles.xml
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="cb_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"/> | ||
<style name="cb_snooze_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"> | ||
<style name="cb_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" /> | ||
<style name="cb_snooze_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" > | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
</resources> | ||
</resources> |
7 changes: 3 additions & 4 deletions
7
res/values-v22/values-v22.xml → res/values-v22/styles.xml
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="cb_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"/> | ||
<style name="cb_snooze_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"> | ||
<style name="cb_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" /> | ||
<style name="cb_snooze_dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" > | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
</resources> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<declare-styleable name="SnoozeLoaderView"> | ||
<attr name="startAnimate" format="boolean" /> | ||
<attr name="activeBarColor" format="color" /> | ||
<attr name="inActiveBarColor" format="color" /> | ||
<attr name="barWidth" format="dimension" /> | ||
<attr name="barHeight" format="dimension" /> | ||
<attr name="barSpace" format="dimension" /> | ||
<attr name="animationSpeed" format="integer" /> | ||
</declare-styleable> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="cb_background">#f6f6f6</color> | ||
<color name="cb_border">#d4dee2</color> | ||
<color name="cb_textColor">#8f8d8d</color> | ||
<color name="cb_otpColor">#368ecd</color> | ||
<color name="cb_otpReceivedColor">#769b12</color> | ||
<color name="cb_otpDisabledColor">#7d88b3</color> | ||
<color name="cb_otpDisabledTextColor">#bec4d9</color> | ||
<color name="cb_errorRed">#e40000</color> | ||
<color name="cb_input_gray">#FFDEE6E6</color> | ||
<color name="cb_grey">#e9e7e7</color> | ||
<color name="cb_blue_button">#368ecd</color> | ||
<color name="cb_blue_button_light">#368ecf</color> | ||
<color name="cb_dark_blue_button">#094774</color> | ||
<color name="cb_dark_grey">#464646</color> | ||
<color name="cb_payu_blue">#368ecd</color> | ||
<color name="cb_nb_button">#615C5C</color> | ||
<color name="cb_nb_background">#3A3434</color> | ||
<color name="cb_verify_color">#0077ff</color> | ||
<color name="cb_progress_bar_color">#007bff</color> | ||
<color name="cb_divider_color">#e7e7e7</color> | ||
<color name="cb_or_color">#9c9c9c</color> | ||
<color name="cb_heading_color">#212529</color> | ||
<color name="cb_item_color">#4a4a4a</color> | ||
<color name="cb_border_color">#333333</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<resources> | ||
<!-- Default screen margins, per the Android Design guidelines. --> | ||
|
||
|
||
<dimen name="cb_twelve">12dp</dimen> | ||
<dimen name="cb_twentyfour">24dp</dimen> | ||
<dimen name="cb_thirtysix">36dp</dimen> | ||
|
||
|
||
<dimen name="cb_eight">8dp</dimen> | ||
<dimen name="cb_sixteen">16dp</dimen> | ||
<dimen name="cb_four">4dp</dimen> | ||
<dimen name="cb_eighteen">18dp</dimen> | ||
<dimen name="cb_sixteenScaled">16sp</dimen> | ||
<dimen name="cb_fourteenScaled">14sp</dimen> | ||
<dimen name="cb_twelveScaled">12sp</dimen> | ||
|
||
<!-- Progressbar circle --> | ||
<dimen name="cb_circle_indicator_radius">3dp</dimen> | ||
<dimen name="cb_circle_indicator_outer_radius">4dp</dimen> | ||
<dimen name="cb_package_list_height">450dp</dimen> | ||
<dimen name="cb_column_width">130dp</dimen> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="cb_otp">otp</string> | ||
<string name="cb_pin">pin</string> | ||
<string name="cb_password_value">Password</string> | ||
<string name="cb_waiting_for_otp">Sit back and relax while we\n check OTP</string> | ||
<string name="cb_approve_otp">Approve</string> | ||
<string name="cb_authenticate_with">Select an option for Faster Payment</string> | ||
<string name="cb_regenerate_otp">Regenerate OTP</string> | ||
<string name="cb_regenerate_otp_text">It is taking long.You may…</string> | ||
<string name="cb_enter_manually">Enter OTP Manually</string> | ||
<string name="cb_card_not_registered_with_pin">Your card has not been registered for PIN yet. Do you want to continue with PIN?</string> | ||
<string name="cb_register_for_pin">REGISTER FOR PIN</string> | ||
<string name="cb_use_sms_otp">USE SMS OTP</string> | ||
<string name="cb_detect_otp">detectOtp</string> | ||
<string name="cb_find_otp">findOtp</string> | ||
<string name="cb_find_new_otp">findNewOtp</string> | ||
<string name="cb_process_otp">process_otp</string> | ||
<string name="cb_detect_bank">detectBank</string> | ||
<string name="cb_fill_otp">fillOTP</string> | ||
<string name="cb_check_visibility_cajs">checkVisibilityCatchAllJSCall</string> | ||
<string name="cb_catchAll_success_msg">catchAllSuccessMsg</string> | ||
<string name="cb_init">init</string> | ||
<string name="cb_result">result</string> | ||
<string name="cb_regenerate">regenerate</string> | ||
<string name="cb_skip_screen">skipScreen</string> | ||
<string name="cb_enter_otp">enterOTP</string> | ||
<string name="cb_enter_caps_otp">Enter OTP</string> | ||
<string name="cb_enter_pin">enterPIN</string> | ||
<string name="cb_retry_otp">retryOTP</string> | ||
<string name="cb_error">error</string> | ||
<string name="cb_register">register</string> | ||
<string name="cb_choose">choose</string> | ||
<string name="cb_sms_otp">SMS OTP</string> | ||
<string name="cb_regen_otp">regenerate_otp</string> | ||
<string name="cb_bank_page_loading">Please wait. Bank page is loading..</string> | ||
<string name="cb_cancel">cancel</string> | ||
<string name="cb_b_cancel">Cancel</string> | ||
<string name="cb_incorrect_OTP_2">incorrectOTP</string> | ||
<string name="cb_incorrect_pin">incorrectPIN</string> | ||
<string name="cb_otp_received">OTP Received</string> | ||
<string name="cb_incorrect_password">Incorrect Password</string> | ||
<string name="cb_retry">retry…</string> | ||
|
||
<string name="cb_register_option">registerOption</string> | ||
<!--Net Banking--> | ||
<string name="cb_populate_user_id">populate_user_id</string> | ||
<string name="cb_btn_action">btn_action</string> | ||
<string name="cb_registeration_detail">Enter your registration details</string> | ||
<string name="cb_no_internet_error">"Oops.. something bad happened"</string> | ||
<string name="cb_no_internet">NO INTERNET CONNECTIVITY</string> | ||
<string name="cb_remember_user">Remember User ID</string> | ||
|
||
|
||
<string name="cb_toggle_field">toggleField</string> | ||
<string name="cb_show_password">Show password</string> | ||
<string name="cb_pwd_btn">pwd_btn</string> | ||
<string name="cb_btn_text">btn_text</string> | ||
<string name="cb_button">Button</string> | ||
<string name="cb_checkbox">checkbox</string> | ||
<string name="cb_payu_response">payu_response</string> | ||
<string name="cb_process_request">Processing Your Request</string> | ||
<string name="cb_please_wait">Please Wait</string> | ||
<string name="cb_resuming_transaction">Resuming transaction please wait</string> | ||
<string name="cb_incorrect_otp_e">Incorrect OTP!</string> | ||
<string name="cb_powered_by">Powered by</string> | ||
<string name="cb_error_title">ERROR_TITLE</string> | ||
<string name="cb_enter_otp_c">Enter OTP</string> | ||
|
||
<!-- Content description String --> | ||
<string name="cb_top_arrow">CB arrow</string> | ||
<string name="cb_payu_icon">PayU icon</string> | ||
<string name="cb_bank_logo">Bank LOGO</string> | ||
<string name="cb_nb_image">net banking image</string> | ||
|
||
<string name="cb_hide">hide</string> | ||
<string name="cb_password">PASSWORD</string> | ||
|
||
<string name="cb_snooze">Snooze</string> | ||
<string name="cb_cancel_transaction">Cancel Transaction</string> | ||
<string name="cb_retry_transaction">Retry Now</string> | ||
|
||
<string name="cb_transaction_status">Please wait while we confirm this transaction from the bank. We will notify you once the bank confirms the status of your transaction.</string> | ||
<string name="cb_transaction_success_msg">We have verified the transaction with the bank. You will now be redirected to the merchant application.</string> | ||
<string name="cb_transaction_sucess">Transaction successful!</string> | ||
<string name="cb_transaction_failed">It seems the bank did not recognize the transaction. You may contact the bank/ merchant for more details.</string> | ||
<string name="cb_transaction_failed_retry">Or you can retry now to restart your transaction.</string> | ||
<string name="cb_transaction_failed_debited">Or you can retry now to restart your transaction.</string> | ||
<string name="cb_transaction_failed_title">Transaction not confirmed</string> | ||
<string name="cb_try_later">Try Later?</string> | ||
<string name="cb_snooze_network_error">Network Error</string> | ||
<string name="cb_snooze_network_down_message">We were not able to detect a better network to resume the transaction.\nYou may retry in a few minutes.</string> | ||
<string name="cb_snooze_try_later">TRY LATER</string> | ||
<string name="cb_slownetwork_status">You are on a slow network that may have caused this transaction to fail. We will notify you when your network is ready to process the transaction.</string> | ||
<string name="cb_retry_restart">Or you can retry now to restart your transaction.</string> | ||
|
||
<string name="cb_ac_debited_twice">* Your account may be debited twice if you retry.</string> | ||
|
||
|
||
<string name="cb_snooze_slow_user_warning">Your session is about to expire. Please complete the transaction quickly to avoid failure.</string> | ||
<string name="cb_snooze_slow_user_warning_header">Finish Transaction</string> | ||
|
||
<string name="cb_snooze_verify_api_status">api_status</string> | ||
<string name="cb_snooze_cookie">Cookie</string> | ||
<string name="cb_snooze_phpsessid">PHPSESSID</string> | ||
<string name="cb_snooze_payuid">PAYUID</string> | ||
|
||
<string name="cb_verify_message_received">verify_message_received</string> | ||
<string name="cb_user_input_confirm_transaction">confirm_transaction</string> | ||
<string name="order_information">Order Information</string> | ||
<string name="cb_payu_review_order">Review Order</string> | ||
|
||
|
||
|
||
<string name="cb_confirm_transaction">Confirm Transaction</string> | ||
<string name="cb_slow_internet_confirmation">Due to slower internet on your mobile device, we were unable to receive a confirmation from the bank.</string> | ||
<string name="cb_receive_sms">Did you receive a SMS from your bank?</string> | ||
|
||
<string name="cb_transaction_paused">Transaction Paused</string> | ||
<string name="cb_snooze_retry_anyway">RETRY ANYWAY</string> | ||
<string name="resuming_your_transaction">Resuming your transaction...</string> | ||
<string name="internet_restored">Internet Restored</string> | ||
<string name="cb_transaction_verified">Transaction Verified</string> | ||
<string name="redirect_back_to_merchant">Redirecting you back to merchant...</string> | ||
<string name="cb_transaction_state_unknown">Transaction State Unknown</string> | ||
<string name="status_unknown_redirect_to_merchant">The bank could not verify the transaction at this time. Redirecting you back to the merchant...</string> | ||
<string name="sp_internet_restored_ttl">sp_internet_restored_ttl</string> | ||
|
||
<string name="cb_review_order">Review Order</string> | ||
<string name="text_or">or </string> | ||
<string name="hint_vpa">Enter your VPA</string> | ||
|
||
<string name="surepay_js">function surePayData(){var list = document.getElementsByTagName(\"input\"); | ||
"var map = {}; | ||
"for(var i =0;i<list.length;i++) | ||
"{if(list[i].type=='hidden') | ||
"map[list[i].name]=list[i].value;} | ||
"PayU.surePayData(JSON.stringify(map));}; | ||
"surePayData();</string> | ||
|
||
<!--MetaData--> | ||
<string name="cb_debug_enabled">cb_debug_enabled</string> | ||
<string name="payu_debug_mode_enabled">payu_debug_mode_enabled</string> | ||
</resources> |
Oops, something went wrong.