Stripe offers variable payment structures, also known as "irregular recurring payments," which include:
Usage-based billing: Charges amounts based on usage during the billing cycle (e.g., minutes used or energy consumed).
Quantity-based billing: Charges a pre-agreed amount based on quantity (e.g., number of users in a subscription).
Is it possible to implement this type of billing in the Apple Store for apps? How would variations in amounts be handled?
Post
Replies
Boosts
Views
Activity
Hello,
My payment system works correctly when my backend is in sandbox mode, but when I submit my app for review, I get the following error:
VerificationException [Error]
at SignedDataVerifier.verifyNotification (/Users/---/node_modules/@apple/app-store-server-library/dist/jws_verification.js:126:19)
at SignedDataVerifier.verifyAndDecodeNotification (/Users/---/node_modules/@apple/app-store-server-library/dist/jws_verification.js:121:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///Users/---/src/api/routes/apple.routes.js:22:18 {
status: 2,
cause: undefined
}
Main Question
For Apple to approve in-app purchases, should I submit my app for review with the backend in sandbox mode or production?
Possible Causes of the Error
I would appreciate any suggestions on what might be causing this error and how to fix it.
Thanks in advance! 🚀