Skip to content

Example App -- Server error when init payment sheet pressed #446

@muddi900

Description

@muddi900

Describe the bug

Following is the error from the node.

node:26772) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of unde undefined
    at C:\src\flutter_stripe\example\server\build\index.js:482:87
    at step (C:\src\flutter_stripe\example\server\build\index.js:33:23)
    at Object.next (C:\src\flutter_stripe\example\server\build\index.js:14:53)        
    at fulfilled (C:\src\flutter_stripe\example\server\build\index.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

To Reproduce

Run the app in the android emulator, go to init payment sheet and press the button

Expected behavior

Initiation of the payment sheet

Smartphone / tablet

  • node version: v14.16.0
  • yarn version: 1.22.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions