Skip to content

timeout of 20000ms exceeded #11

@bfgelectronics

Description

@bfgelectronics

It seems that the createPayment method errors every time witht the message timeout of 20000ms exceeded .

The API key that i use to initialise the PI object is valid (as i use it for user-to-app transactions) and secret phrase should be fine.

const paymentId = await pi.createPayment({ amount: adjustedAmount, uid: userId, memo: "Payment", metadata, });

adjustedAmount is a number , userId is the id of the user that i get from the client pi sdk , and metadata contains some small info about the payment.

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