-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] class file for com.stripe.android.ui.core.BillingDetailsCollectionConfiguration not found #6533
Comments
Hi @Bme-Adib I tried to reproduce your issue without any success: public class TestActivity extends AppCompatActivity {
private PaymentSheet paymentSheet;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
private void presentFlow() {
paymentSheet.presentWithPaymentIntent(
"client secret",
new PaymentSheet.Configuration(
"Merchant display name",
new PaymentSheet.CustomerConfiguration(
"customer id",
"key secret"
)
)
);
}
} Above is an example activity written in java using the |
@Robertoq7, it will be available in Monday's release: https://github.com/stripe/stripe-android/blob/master/CHANGELOG.md#xxxxxx---2023-xx-xx |
Hi @Bme-Adib and @Robertoq7! We released 20.23.0 earlier today, but noticed that the issue persists. We’ll be releasing 20.23.1 very soon to get this fixed. Sorry about the inconvenience. |
Hi @Bme-Adib and @Robertoq7 we just released 20.23.1 with the fix, could you please give it a try and report back? |
Hi @jaynewstrom-stripe! Working for me, thank you! |
Summary
When compiling the app I am getting this issue
error: cannot access BillingDetailsCollectionConfiguration
paymentSheet.presentWithPaymentIntent(clientSecret, new PaymentSheet.Configuration("ABC", new PaymentSheet.CustomerConfiguration(customerID, ephemeralKey)));
^
class file for com.stripe.android.ui.core.BillingDetailsCollectionConfiguration not found
Code to reproduce
Android version
Android API 33
Latest
Impacted devices
When compiling on all devices Virtual and physical
Installation method
installed through a gradle dependency
Dependency Versions
implementation 'com.stripe:stripe-android:20.22.0'
For kotlin:
./gradlew :dependencies | grep kotlin
For stripe-android:
./gradlew :dependencies | grep com.android.tools.build
For Android Gradle Plugin:
./gradlew :dependencies | grep com.stripe:stripe-android
For Gradle version:
./gradlew -v
-->
SDK classes
Video
Other information
I followed mutiple videos on how to do the integration but everytime I get this error
The text was updated successfully, but these errors were encountered: