i have implemented the sample code but when i click the any button of the ui app forcefully crash and show the that type of error.
08-14 17:11:14.364: E/AndroidRuntime(2922): FATAL EXCEPTION: AsyncTask #1
08-14 17:11:14.364: E/AndroidRuntime(2922): java.lang.RuntimeException: An error occured while executing doInBackground()
08-14 17:11:14.364: E/AndroidRuntime(2922): at android.os.AsyncTask$3.done(AsyncTask.java:278)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
08-14 17:11:14.364: E/AndroidRuntime(2922): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.lang.Thread.run(Thread.java:856)
08-14 17:11:14.364: E/AndroidRuntime(2922): Caused by: java.lang.NoClassDefFoundError: org.springframework.web.client.RestTemplate
08-14 17:11:14.364: E/AndroidRuntime(2922): at com.firstdata.firstapi.client.FirstAPIClientV2Helper.<init>(FirstAPIClientV2Helper.java:72)
08-14 17:11:14.364: E/AndroidRuntime(2922): at com.example.sampleapp6.RequestTask.CallPurchaseVisa(RequestTask.java:1095)
08-14 17:11:14.364: E/AndroidRuntime(2922): at com.example.sampleapp6.RequestTask.CallPurchaseCards(RequestTask.java:397)
08-14 17:11:14.364: E/AndroidRuntime(2922): at com.example.sampleapp6.RequestTask.doInBackground(RequestTask.java:144)
08-14 17:11:14.364: E/AndroidRuntime(2922): at com.example.sampleapp6.RequestTask.doInBackground(RequestTask.java:1)
08-14 17:11:14.364: E/AndroidRuntime(2922): at android.os.AsyncTask$2.call(AsyncTask.java:264)
08-14 17:11:14.364: E/AndroidRuntime(2922): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
08-14 17:11:14.364: E/AndroidRuntime(2922): ... 5 more
Which sample are you trying to execute ? Use https://github.com/payeezy/payeezy_android/tree/master/example/PostTokenisedCrediCard/payeezyclientsample for Gettoken/Authorize/Purchase payent.
sir i am to https://github.com/payeezy/payeezy_android/tree/master/example/PostToken... for Gettoken/Authorize/Purchase payent. this example but same error ocure.
i am using eclips and this sample code is created in android studio and i have converted studio to eclips but when i click any button same error ocure..
I assume you are getting the "same error ocured" means the error which you have posted earlier.
The application is looking for android restful library.
Please install Android studio. [Very soon, support for Android will be terminated for Eclipse].
Once, you install the Android Studio, import the project [sample app- PostTokenised].
Once imported into the Android Studio, the project will be built automatically. All the libs will be included.
But Sir i have almost complete my project in eclips and i am not familiar with android studio.so please help me how to integrate first data payment getway.........
As you can see in http://developer.android.com/sdk/index.html;
“If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android,
so you should migrate to Android Studio to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio”
Going forward , there will be no support for Android Development in Eclipse by Google. Hence, we have the entire Payeezy in Android Studio.
We can set up a meeting to guide you through the steps of Android Studio installation.
sir can you please give me advice how to convert android studio sample project of payeezy to eclips project...
i am try to converting above heading type but result is none... means error is still alive...
Sir I converted android studio sample in eclips but problem is still...
so please give me any clue which i used for converting android studio sample in eclips...
As in the previous response, please use the Development Environment-Android Studio.
Converting Android Studio project to Eclipse project will not help. Since, you are using Eclipse as Development Environment.
We can guide you through the steps of setting up of Android Studio Environment , so that you can directly use the existing project in Github.
hello mam,i have imported Alltranasctions sample code in android studio but i don't understand,how is work.what is the use of edittext,what value put in that,which button is pressed.when i put getvisatoken value in edittext according to the coding when i read its coding and press gettoken button.so app is crease.and when i press the purchase and athourise button then only show toast but nothing happend any more but when press the login button it show some values.so please help what should i put in edittext and which buttons are pressed.
i have imported alltranasction sample code in android studio but in this sample only login button working and show some toast msg.and gettoken button crease the app. but i don't understand that what is the use of edittext in that example and how to use other button functionality.
Please pull the latest code in the Github. You can see the folder AllTransactions. You can use it.
The new code has no EditText or Login button.
mam, can you tell me that your payment getway sdk or example in android is lunched as like ios or you still working their for android sdk because in the iso your completely sdk or example lunched but not in android. and you show on your site that in android pay column is "Full Android Pay integration coming soon...."
Hi Abhishek,
Android Pay SDK is not ready yet. We will post it as soon as we have it.
We have the Android SDK which is different than Android Pay SDK. You are already using the Android SDK.
Does this explain?
Regards,
Rohit
but sir why, doesn't working rest-template jar file in the eclips project ... its only work in android studio project..i put the newly download jar file in my eclips project but after that problem is still....please give me appropriate solution according to my problem.
Hi Rohit,
can you tell me what is the difference between Android SDK and Android Pay SDK.
With android SDK, after your user submits the card details, your app will call our API to process the transaction. There is no interaction with mobile wallet in this.
With Android Pay, the user already sets up his mobile wallet by adding his cards. During checkout the app prompts the user to select a payment card. Based on the card selected, your app will receive a token which is submitted to Payeezy.
but sir why, doesn't working rest-template jar file in the eclips project ... its only work in android studio project..i put the newly download jar file in my eclips project but after that problem is still....please give me appropriate solution according to my problem.
It has to be the path issue, may be the jar is not included in the lib folder. The eclipse IDE might not be able to find the dependancies.
Good, it is working fine in Android Studio. Please continue with Android Studio, since going forward the complete Android Development will be only in Android Studio. Eclipse will not be used.
If you have your project in eclipse, you can copy your .java and .xml files to your Android Studio and continue your development.
I downloaded Payeezy_Android and run sample app payeezy_android-master\Payeezy-International\TokenisedCardTransactions\payeezyclientsample. But it is not working.
Give me compilation error:
payeezy_android-master\payeezy_android-master\Payeezy-International\TokenisedCardTransactions\payeezyclientsample\src\com\firstdata\firstapi\client\SystemSSLDefaultHttpClient.java
Error:(39, 26) error: cannot access ConnPoolControl
class file for org.apache.http.pool.ConnPoolControl not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Error:Execution failed for task ':compileDebugJava'.
> Compilation failed.
Which IDE you are using? Android Studio or Eclipse.
Also, which is the java version?
It is the Build Configuration issue.
Let me know the details of IDE and java, i can give you the configuration settings.
I am using Android-Studio 1.3.2 and Java version "1.8.0_60" in windows 8 64-bit.
Please use the latest code from the Github.
https://github.com/payeezy/payeezy_android/tree/master/Payeezy-International/TokenisedCardTransactions/payeezyclientsample
Let me know if you face any issues.
Regards
Payeezy Team
sir in your example i put the total amount value in float than its shows null value response but when i put the integer value then its shows the full response.so what can i do for this situation.
Hi,
The amount is taken as cents. Float is not required. For instance , you want to enter amount as 12.27, you can enter as 1227, which is taken as 12 dollars and 27 cents.
Regards
Payeezy Team
Hi,
I found Payeezy-android-master on git, but in that package i did't found application for purchase using credit card.
Where in Payeezy-ios-master have application named "creditCardPayments".
So,Is there same application for android?
Hi,
We do have the Android App for purchase with CreditCard. In the folder, payeezy_android\Payeezy-US\Direct-NonTokenisedTransactions, we have the Android sample app using the payeezysdk and clientlib for the purchase.
If you need to refer the Tokenised card transactions, please refer payeezy_android\Payeezy-US\TokenisedCardTransactions.
Regards
PayeezyTeam
hello sir,
i am confused that how to get money to the seller by your getway.
i am an developer now i am using sandbox account for testing but now i am upload my app on google play so what can i do for transfer all the money from my buyer to seller .what is the need for seller account for transfer money.
Hi Abhishek,
Sandbox account is only for testing. When you start doing live transactions, in each of your transaction you will send us the merchant token. Merchant token is tied to your merchant's account and by that we know how to fund the money. The merchant will get funded directly.
Regards,
Payeezy team
But sir how to get live merchant token.what is the process.
Please refer this FAQ - https://developer.payeezy.com/faqs/my-sandbox-integration-complete-how-do-i-go-live
Regards,
Payeezy team
hello sir,
may i use Key ID and Hmac Key for merchant id and token in my app.this key id and Hmac key is get from our web development side.
and its use in our php website for same client.
hello sir ,
may i used Key ID and Hmac Key for merchant id and token id for my android app.
hello sir ,
may i used Key ID and Hmac Key for merchant id and token id for my android app. and what is the use of report token in my app block.when i created new app.
Hi Abhishek,
After we link your developer account to the merchant account, you will be able to see the Merchant ID and Merchant token in your "My Merchants" page. You will need to use that in your application.
Regards,
Payeezy team
hello sir ,
i am asking may i used Key ID and Hmac Key for merchant id and token id for my android app. without any process because my client developed his account on web hand. so i am getting this Key ID and Hmac Key from my web hand.and its used in web site of my app for first data transaction payment gaetway.
No, you cannot use Key ID and HMAC key in place of merchant id and token. What do you mean by "web hand" and "first data transaction payment gateway"?
hello sir,
web hand means , i am developed a shopping web site app. and first data payment gateway also used in web site and my app. and my
client is already created his account in first data. and get Gateway ID,Gateway Password ,Key ID,HMAC key.so i am asking to you may i used Key ID and Hmac Key for merchant id and token id for my android app.
Hi Abhishek,
Yes, you can use the gateway ID and gateway password if you use the web service API - https://support.payeezy.com/hc/en-us/articles/204029989-First-Data-Payeezy-Gateway-Web-Service-API-Reference-Guide-
Regards,
Payeezy team