question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to fined BraintreePaymentActivity Calass in Braintreen-api-1.2.7.jar

See original GitHub issue

https://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:closed
  • Created 9 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zubyf09commented, Jan 28, 2015

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.

0reactions
gbramwellcommented, Jul 20, 2015

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found