api_integration
Differences
This shows you the differences between two versions of the page.
| api_integration [2022/09/04 22:40] – created wtkadmin | api_integration [2025/03/29 15:56] (current) – added code-php around code wtkadmin | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| * wtkHtmShowTwitter | * wtkHtmShowTwitter | ||
| - | Currently the **Stripe** API integration is being worked on and should be added to the Wizard' | + | Currently the **Stripe** API integration is in development - let us know if you need this. |
| ===== Returning to SPA from APIs ===== | ===== Returning to SPA from APIs ===== | ||
| Line 33: | Line 33: | ||
| The goal is to allow a user who is already logged in to your website or app to use an API to go to an outside website then return without having to re-login. | The goal is to allow a user who is already logged in to your website or app to use an API to go to an outside website then return without having to re-login. | ||
| + | <code php> | ||
| $pgApiKey = wtkGetPost(' | $pgApiKey = wtkGetPost(' | ||
| $pgRefreshURL = $gloWebBaseURL . '/ | $pgRefreshURL = $gloWebBaseURL . '/ | ||
| Line 43: | Line 44: | ||
| ] | ] | ||
| ); | ); | ||
| + | </ | ||
| This would then expect you to have **cancel.htm** and **thanks.htm** files in your /admin directory. | This would then expect you to have **cancel.htm** and **thanks.htm** files in your /admin directory. | ||
| + | <code php> | ||
| wtkSPArestart($pgHtm); | wtkSPArestart($pgHtm); | ||
| - | + | </ | |
| The **wtkSPArestart** will only do anything if all the following criteria are met: | The **wtkSPArestart** will only do anything if all the following criteria are met: | ||
| Line 63: | Line 64: | ||
| For example the thanks.htm page could look like this. | For example the thanks.htm page could look like this. | ||
| + | <code php> | ||
| <div class=" | <div class=" | ||
| < | < | ||
| Line 72: | Line 74: | ||
| </ | </ | ||
| </ | </ | ||
| + | </ | ||
api_integration.1662331254.txt.gz · Last modified: 2022/09/04 22:40 by wtkadmin
