Skip to content
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

Request partial authorization not working while trying to take payment through S700 & M2 device #557

Open
harunr-plateron opened this issue Feb 26, 2025 · 0 comments

Comments

@harunr-plateron
Copy link

harunr-plateron commented Feb 26, 2025

Summary

Code to reproduce

val params = PaymentIntentParameters.Builder(
            listOf(PaymentMethodType.CARD,PaymentMethodType.CARD_PRESENT)
        ).setDescription("Payment for order ${(mMetaData["orderId"] ?: "")}").setAmount(amount)
            .setCurrency(currency).setPaymentMethodOptionsParameters(
                PaymentMethodOptionsParameters.Builder()
                    .setCardPresentParameters(
                    CardPresentParameters.Builder()
                        .setRequestPartialAuthorization(CardPresentRequestPartialAuthorization.IF_AVAILABLE)
                        .setRequestIncrementalAuthorizationSupport(false)
                        .setRequestExtendedAuthorization(true)
                        .build()
                )
                    .build()
            )
            .setMetadata(mMetaData)
            .build()
        val createConfig = CreateConfiguration(OfflineBehavior.REQUIRE_ONLINE)
        Terminal.getInstance().createPaymentIntent(params, this, createConfig)

Android version

Android 13

Impacted devices (Android devices or readers)

Impact on all android devices and S700 and M2 readers
Reader id: SDR70Z16311000021 (S700)

##SDK version

implementation "com.stripe:stripeterminal:4.1.0"
implementation 'com.stripe:stripeterminal-handoffclient:4.1.0'
implementation 'com.stripe:stripeterminal-taptopay:4.1.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant