Comments (6)
Absolutely..... I will work on it as soon as I can.
from paystack-android.
Hey Abel, You arrived at the right fix. By guidelines, when you start a long-running process, you should give a visual hint to your users and ensure the process cannot be repeated until you get a response. Do you also show a processing dialog that shows them their click has registered?
from paystack-android.
Yea, when the user click on the pay-button on the app a progress dialog will be shown while the app generate an access_code on the background thread. After the Paystack transaction access_code has been generated and I have called the chargeCard() method, the paystack-android sdk sometimes delays for two to three seconds before popping up the transparent Card-Pin and OTP Entry activity. I think the paystack-android team should look into the code and make sure that there are no long running process executed before the PIN Entry activity is shown.
from paystack-android.
I finally took my time to look into the paystack-android SDK source-code and it seems like the SDK is making connection to the server to verify a transaction access_code before popping up the dialog.
Below is the code block where the OTP Activity is started which is after a network call has been made and processed.
if (transactionApiResponse.status.equalsIgnoreCase("2")) {
new PinAsyncTask().execute(); //the PinAsyncTask is the AsynTask that starts the OTP Activity.
return;
}
the Implementation of the paystack-android SDK should display a progress loader when it is making an API call. Your immediate response will be appreciated.
from paystack-android.
Awesome suggestion! You good to send in a PR for review?
from paystack-android.
Yeah nice suggestion, still waiting for the implementation tho, It's really frustrating to the users, no notification displayed to the user while the PIN and OTP verification process is bn carried out.
from paystack-android.
Related Issues (20)
- Error .. app crash after successful card added HOT 1
- Charge Exception Error with Paystack SDK HOT 2
- Payment not successful on my app HOT 1
- Charge error - Unable to process transaction HOT 4
- Error HOT 3
- This library is not compiling for Android 5.0 HOT 2
- Dependencies HOT 1
- Mobile Money Support HOT 3
- Migrate library away from Bintray HOT 5
- Support Library Incompatibility Issue HOT 3
- Since Charge object has amount as Integer so how to make decimal charges ? HOT 2
- Charge error: co.paystack.android.exceptions.ChargeException: Unknown Error HOT 4
- I would want sample codes for Gh momo integration in java/Android studio HOT 1
- Unable to resolve host "standard.paystack.co": No address associated with hostname HOT 2
- co.paystack.android.exceptions.PaystackSdkNotInitializedException: Paystack SDK has not been initialized.The SDK has to be initialized before use HOT 1
- Crash with a wrong OTP code input
- java.lang.NoClassDefFoundError: Failed resolution of: Lco/paystack/android/ui/PinAxtivity; HOT 2
- Documentation mismatch
- Card Verification HOT 2
- AAPT: error: attribute auto_submit (aka my.package.name:auto_submit) not found. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paystack-android.