We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that the createPayment method errors every time witht the message timeout of 20000ms exceeded .
createPayment
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems that the
createPayment
method errors every time witht the messagetimeout 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.
The text was updated successfully, but these errors were encountered: