You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is called when the payment identifier (paymentId) is obtained from Pi Servers.
160
+
This is called when the payment identifier (paymentId) is obtained from Pi Servers. During the approval time period, this callback will be invoked multiple times in case of failure.
161
+
If the initial trial fails, the Pi SDK will continue to invoke the function roughly every 10 seconds until the approval timer ends.
161
162
162
163
Use this callback to send the paymentId to your backend for **Server-Side Approval**.
163
164
Read more about Server-Side Approval and the full payment flow in the dedicated
@@ -167,7 +168,8 @@ Read more about Server-Side Approval and the full payment flow in the dedicated
This is called when the user has submitted the transaction to the Pi blockchain.
171
+
This is called when the user has submitted the transaction to the Pi blockchain. During the completion time period, this callback will be invoked multiple times in case of failure.
172
+
If the initial trial fails, the Pi SDK will continue to invoke the function roughly every 10 seconds until the completion timer ends.
171
173
172
174
Use this callback to send the blockchain transaction identifier (txid), along with the paymentId
Copy file name to clipboardExpand all lines: developer_portal.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ With the help of Pi SDK and Pi API, you can create applications that run within
24
24
25
25
> When the app is connecting to the Pi Mainnet, you can pair one of your testnet apps to the mainnet app. More specific usage is coming soon in the future.
26
26
27
-
> When you're hosting the app on your server, you will also need to provide the url. Notice that you'll be asked to verify the ownership of the url after you register the app. After you filled in the required fields, you can submit to register your app by clicking on `Submit` button at the bottom of the page.
> When you're hosting the app on your server, you will also need to provide the url. Notice that you'll be asked to verify the ownership of the url after you register the app. After you filled in the required fields, you can submit to register your app by clicking on `Submit` button at the bottom of the page.
32
+
33
33
3. After you register your app, you can see your apps in the main page. If you selected the paired app for your mainnet app, it will show like the following.
0 commit comments