Skip to content

Link option still visible in PaymentSheet even after using LinkDisplayParams (Flutter)Β #2398

@hardik-cloudus

Description

@hardik-cloudus

πŸ› Issue Description

I am using flutter_stripe PaymentSheet in my Flutter app.

Even after setting:

linkDisplayParams: LinkDisplayParams(linkDisplay: LinkDisplay.never),

The Link (email) option is still visible in the PaymentSheet UI.


βœ… What I Tried

  • Set allowsDelayedPaymentMethods: false
  • Added LinkDisplayParams(linkDisplay: LinkDisplay.never)
  • Backend configured with:
{ "payment_method_types": ["card"], 

❌ Expected Behavior

Link option should be hidden from PaymentSheet.


❗ Actual Behavior

Link option is still visible and cannot be removed.


πŸ“± Environment

  • Flutter version: 3.41.6
  • flutter_stripe version: 12.6.0
  • Platform: Android / iOS

πŸ“Έ Screenshots

Image

It seems LinkDisplayParams is either not supported or ignored in PaymentSheet. Please clarify if this is expected behavior or a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions