blinkSDK.promptDonationPopup()
Initiates the Blink donations flow. This is similar to blinkSDK.showDonationModal(), but skips the first panel in the modal dialog.
- When the user is authenticated, it will display the donation form in a modal dialog.
- When the user is not authenticated, it will display the login/signup form in the modal dialog. After the user logs in (or signs up), the contents of the modal dialog seamlessly transform into the donation form.
Usage
<body>
<button onclick="window.blinkSDK.promptDonationPopup()">Donate</button>
</body>
Signature
blinkSDK.promptDonationPopup()
Parameters
none
Returns
void