Unable to fined BraintreePaymentActivity Calass in Braintreen-api-1.2.7.jar
See original GitHub issuehttps://developers.braintreepayments.com/android+node/sdk/client/setup I followed this link and add braintree-api1.2.7 into my project lib folder and then try to write this code
public void onBraintreeSubmit(View v) {
Intent intent = new Intent(context, BraintreePaymentActivity.class);
intent.putExtra(BraintreePaymentActivity.EXTRA_CLIENT_TOKEN, clientToken);
// REQUEST_CODE is arbitrary and is only used within this activity.
startActivityForResult(intent, REQUEST_CODE);
}
It gives error on BraintreePaymentActivity.class cause in library there is no calass with this name… so how i can fix this issue???
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
BraintreePaymentActivity can not be found - Stack Overflow
Try putting compile 'com.braintreepayments.api:braintree:1.+' in your build.gradle file. Here's the changelog for the Braintree Android SDK if ...
Read more >BraintreePaymentActivity (Drop-In 2.2.5 API) - javadoc.io
public class BraintreePaymentActivity extends android.app.Activity ... The payment method flow halted due to an error from the Braintree gateway.
Read more >Set Up Your Server | Java - Braintree Developer Documentation
We provide an open-source JAR file to integrate with the Braintree gateway. ... In your code, configure the environment and API credentials: Java....
Read more >BraintreeError - Documentation - Braintree Open Source
BraintreeError. This class is used to report error conditions, frequently as the first parameter to callbacks throughout the Braintree SDK. Constructor.
Read more >Live Coding: Braintree Payment API - YouTube
Let's explore the Braintree payment API for selling products and subscriptions. Braintree accepts PayPal, Venmo, credit cards, Apple Pay, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks gbrmwell for reply So please can you tell me how to use Drop-in Ui.Because i want to use drop in UI following this link https://developers.braintreepayments.com/android+node/sdk/client/drop-in but this funciton onBraintreeSubmit want to take su BrainTreePaymentActivity.class file Should i have to make may own actviity with this name.? Please guide me about drop-in-ui i am confuse in it.
@Sandhya21 Our documentation for setting up the Android client is the dependency you’ll want to use in your
build.gradle
file.If you have any questions as you integrate, our support team is happy to help! You can email them at support@braintreepayments.com or call at 877.434.2894.