Skip to main content
Skip table of contents

Scheduled Payment Card Type

The Scheduled Payment card type embeds a Lightning component on the page. The card does not display by default; when another card on the page calls this card, it displays the Lightning component in a modal window.

When constituents have no external payment profiles for the payment gateway of the entity, the Scheduled Payment card type displays a card with a message letting them know they need a stored payment method to proceed. It includes a link to the My Payment Methods Page where they can add one.

The Scheduled Payment card type must be used on pages which deal with carts, such as the Checkout Page or the Invoice Page.

To embed a Lightning component using the Scheduled Payment card type, you must include code needed to initiate the component in Configuration when creating a card. As an example, this code initiates the Scheduled Payment Modal Launcher component with given attributes:

XML
{"ComponentName":"c:ScheduledPaymentModalLauncher","Attributes":{"recordId":"{!recordId}","autoLaunch":true,"shouldHandlePaymentScheduled":false,"finishRedirectUrl":"{!communityBaseUrl}/my-scheduled-payments"}}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.