This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Example of decoding JWT Web Token with public key | |
// Package: https://github.com/firebase/php-jwt | |
require_once 'vendor/autoload.php'; | |
use \Firebase\JWT\JWT; | |
$key = "-----BEGIN PUBLIC KEY----- YOUR PUBLIC KEY HERE -----END PUBLIC KEY-----"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script async | |
src="https://www.onlinegiving.org/assets/chatbox.js" | |
data-id="og-chatbox-script" | |
data-default-message="Welcome! I'm a giving assistant chatbot that can assist you making a donation, contact information, directions and sermons." | |
data-church-code="" | |
data-token-type="" | |
data-mp-token="" | |
data-rockrms-token="" | |
data-container-id="" | |
data-header-text="Giving Assistant" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Online Giving Direct Link with MP Portal User Auth Token --> | |
<!-- Example of links that may be placed in your MP Portal skin file --> | |
<!-- [MPP_User_Data] is a skin tag that will be replaced with a MP Auth Token --> | |
<!-- Direct linking is the suggested method of using Online Giving. However, we do offer embedding giving also --> | |
<a href="https://churchnativity.onlinegiving.org/donate/index?mp_token=[MPP_User_Data]">Donate</a> | |
<a href="https://churchnativity.onlinegiving.org/donate/profile?mp_token=[MPP_User_Data]">Giving Profile</a> | |
<a href="https://churchnativity.onlinegiving.org/donate/textgiving?mp_token=[MPP_User_Data]">Text Giving</a> | |
<a href="https://churchnativity.onlinegiving.org/donate/textgiving?mp_token=[MPP_User_Data]">Donation History</a> | |
<a href="https://churchnativity.onlinegiving.org/donate/recurring?mp_token=[MPP_User_Data]">Recurring Donations</a> | |
<!-- // Donate as Guest does not need to be located behind MP portal authentication. Using mp_token will sign-in donor --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- // For Ministry Platform Portal Churches --> | |
<!-- // Appending &mp_token=[MPP_User_Data] to links will append it with portal user authentication --> | |
<!-- // This bypasses Online Giving sign-in and registration pages for web giving --> | |
<!-- // Note: Embed pages must be located behind MP Portal authentication --> | |
<a href="/myembedpage?online_giving=/donate/index&mp_token=[MPP_User_Data]">Donate</a> | |
<a href="/myembedpage?online_giving=/donate/profile&mp_token=[MPP_User_Data]">Giving Profile</a> | |
<a href="/myembedpage?online_giving=/donate/textgiving&mp_token=[MPP_User_Data]">Text Giving</a> | |
<a href="/myembedpage?online_giving=/donate/textgiving&mp_token=[MPP_User_Data]">Donation History</a> | |
<a href="/myembedpage?online_giving=/donate/recurring&mp_token=[MPP_User_Data]">Recurring Donations</a> | |
<!-- // Donate as Guest does not need to be located behind MP portal authentication. Using mp_token will sign-in donor --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="/myembedpage?online_giving=/donate/index">Donate</a> | |
<a href="/myembedpage?online_giving=/donate/profile">Giving Profile</a> | |
<a href="/myembedpage?online_giving=/donate/textgiving">Text Giving</a> | |
<a href="/myembedpage?online_giving=/donate/history">Donation History</a> | |
<a href="/myembedpage?online_giving=/donate/recurring">Recurring Donations</a> | |
<a href="/myembedpage?online_giving=/donate/guest_donate">Donate as Guest</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script async | |
src="https://www.onlinegiving.org/assets/embed.js" | |
data-id="og-embed-script" | |
data-church-code="demo" | |
data-default-page="" | |
data-token-type="" | |
data-mp-token="" | |
data-mp-root="" | |
data-container-id="" | |
data-bottom-pad="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Store Locator Widget Example | |
------ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p android/icon | |
cp icon.png android/icon/drawable-icon.png | |
cp icon.png android/icon/drawable-hdpi-icon.png | |
cp icon.png android/icon/drawable-ldpi-icon.png | |
cp icon.png android/icon/drawable-mdpi-icon.png | |
cp icon.png android/icon/drawable-xhdpi-icon.png | |
cp icon.png android/icon/drawable-xxhdpi-icon.png | |
cp icon.png android/icon/drawable-xxxhdpi-icon.png | |
sips -Z 96 android/icon/drawable-icon.png | |
sips -Z 72 android/icon/drawable-hdpi-icon.png |