Comments (24)
from easyupipayment-android.
easyUpiPayment = new EasyUpiPayment.Builder()
.with(Authosized_Product.this)
.setPayeeVpa(companyData.getUpiId())
.setPayeeName(companyData.getName())
.setTransactionId(s)
.setTransactionRefId(s+"1")
.setDescription(getString(R.string.company_name)+" Product Name : "+productData.getPname())
.setAmount(String.valueOf(Double.valueOf(productData.getCost())))
.build();
easyUpiPayment.setPaymentStatusListener(this);
easyUpiPayment.startPayment();
@OverRide
public void onTransactionCompleted(TransactionDetails transactionDetails) {
finalTrans.setUpiId(transactionDetails.getTransactionId());
Log.e("trans data","trans id = "+transactionDetails.getTransactionId()+" Refrence id "+transactionDetails.getTransactionRefId()+" refAprovalRefNo = "+transactionDetails.getApprovalRefNo()+" Status Code = "+transactionDetails.getStatus());
// new TransectionComplete().execute("http://"+Main.getIp()+"/Identify/checker/RegisterTransaction",new Gson().toJson(finalTrans));
}
public void onTransactionSuccess() {
watingAlert.dismiss();
finalTrans.setSuccess(true);
Toast.makeText(Authosized_Product.this,"Payment Successful !!",Toast.LENGTH_LONG).show();
//line to make the registration to the database that payment is successful
new TransectionComplete().execute("http://"+Main.getIp()+"/Identify/checker/RegisterTransaction",new Gson().toJson(finalTrans));
}
onTransectionSuccess is successfully running and payment is also successfully completing . but this onTransectionComplete is not running from where the most importent data will come . i.e the TransectionID.
please help me how to resolve this issue..
from easyupipayment-android.
from easyupipayment-android.
i had used phonepe .. something same was occuring in case of paytm . according to you this code is perfectly fine??
from easyupipayment-android.
from easyupipayment-android.
the only doubt i have is .. does the upi accept any sort of strings correspond to the transaction id and the reference id ? i am literally putting anything .. they are just unique to the other values in data base.
Also if i put the registration to the server in the onTransactionSuccess() it works for me but i don't get TransectionID
from easyupipayment-android.
from easyupipayment-android.
easyUpiPayment = new EasyUpiPayment.Builder()
.with(Authosized_Product.this)
.setPayeeVpa(companyData.getUpiId())
.setPayeeName(companyData.getName())
.setTransactionId(s)
.setTransactionRefId(s+"1")
.setDescription(getString(R.string.company_name)+" Product Name : "+productData.getPname())
.setAmount(String.valueOf(Double.valueOf(productData.getCost())))
.build();
easyUpiPayment.setPaymentStatusListener(this);
easyUpiPayment.startPayment();
There might be error in this.. s= 835363829 for one case.
from easyupipayment-android.
from easyupipayment-android.
yes it is working after changing the value of s.. System.currentTimeInMillis() is working .. but what should
be actually put inside the transaction id ? and the TransactionRefId . and why is it working in this case? is there some limit on the length on the string 's'(in my case) .
from easyupipayment-android.
from easyupipayment-android.
okey thanks a lot ... man
from easyupipayment-android.
from easyupipayment-android.
and one more thing ..
what if the payment is from the bank is taking much time than usual . and what if the bank server is down . have you handled that
from easyupipayment-android.
from easyupipayment-android.
in that case what should we do to insure consistency .
from easyupipayment-android.
from easyupipayment-android.
what if payment is successful after 2-3 days ? if there a way to check from on the server side that is the payment is successful or not?
from easyupipayment-android.
from easyupipayment-android.
okey ... again.. thanks a lot man..
from easyupipayment-android.
sorry to bother you again .. onTransactionPending() is not there in your interface . and neither in your documentation.
from easyupipayment-android.
@suryabhairaj Sorry for the late reply. It's my mistake. callback onTransactionSubmitted()
is called when it's pending.
from easyupipayment-android.
I think issue is resolved. So I'm closing issue. If you found anything, you can reopen it.
from easyupipayment-android.
sir your library invoking wrong callback it says phone doesn't have any upi app , but there are upi apps installed in my phone
what is the solution ? why is it behaving so different?
If you could give your precious time please help me out
from easyupipayment-android.
Related Issues (20)
- [BUG] PAYMENT REQUEST DENIED HOT 6
- [BUG] AppNotFoundException throw from onCreate() of PaymentUiActivity, So can't catch it. HOT 1
- The account linked to #mypersonalUpiId that you are trying to send money to is the same as the account from which you are sending money
- UPI Payment is not showing in Android level 11 & 10. HOT 4
- Payment Issue : Nothing is working HOT 5
- On failed transection give success HOT 7
- App Crash (No UPI app found on device.) HOT 7
- EasyUpiPayment-Android success status HOT 3
- Got error code (U09) & (U29-ZE) for payeeMerchantCode change
- In Sufficient Balance Handling on PhonePe Or Developer customisation Required for showing UPI apps
- [HIRING OFFER] Carnegie Mellon AI founder HOT 1
- [BUG] V3.0.3 onTransactionCompleted & onTransactionCancelled
- [BUG/] this transaction may be risky HOT 3
- [BUG/FEATURE REQUEST] Cannot send more than 2000₹ HOT 1
- BUG
- [ADDA UPI] UPI Payment Gateway is failing on all platform iPHone, Android and Computer
- Not Working Proper
- [BUG] The Payment is Failing HOT 4
- Payment Fail Every Time
- EasyUpiPaymentExceptionType.cancelledException after successfull transaction
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 easyupipayment-android.