Astral Pay - Help:

Adding Paylinks To Documents

Watch the Video

Astral Pay provides the ability to place a ‘Pay with Stripe’ link on to unposted documents (Sales Quotes, Sales Orders & Sales Invoices) and posted documents (Posted Sales Invoices). This can either be performed manually by opening, for example, the Sales Invoice card page and selecting ‘Astral Pay’ in the ‘Payment Services’ section, or automatically by enabling the ‘Always Include on Documents’ switch in Astral Pay ‘Setup’.

1
Astral Pay.img

Figure 1 | Astral Pay Setup Page

Please note that if the Posted Sales Invoice is allocated and closed, a paylink will not be generated.

Enabling the ‘Exclude if Valid Card’ field will stop a paylink being added to documents where a Payment Method has been saved against the Customer for future use. In this scenario, you would generate a Payment Batch to collect payments from Saved Cards, and you would not want the Customer to recieve an invoice and make the payment themselves.

If you would prefer to only create a paylink for documents with specific Payment Methods, you can enter a filter in to the ‘Document Payment Method Filter’ field. An example here would be to enter ‘STRIPE|CHEQUE|CASH’. In this example, a Paylink will only be added if the Posted Sales Invoice has a ‘Payment Method’ of STRIPE, CHEQUE or CASH.

When the Posted Sales Invoice is sent to the customer (via the standard Business Central functionality), a ‘Pay with Stripe’ link is added to the document.

2
Astral Pay.img

Figure 2 | Posted Sales Invoice Example

When the customer reviews the invoice and clicks the link, they will be taken to the astral365.com website to confirm the details, and they are able to select ‘Save payment information for future use’.

3
Astral Pay.img

Figure 3 | Confrim Details on Astral 365 Website

Then, clicking the ‘Pay with Card’ button will take them to Stripe checkout to complete the payment.

4
Astral Pay.img

Figure 4 | Stripe Checkout

Once the user finalises the Stripe checkout process, the user will be redirected back to astral365.com, marking the paylink as being completed.

5
Astral Pay.img

Figure 5 | Paylink Completed

As this is not a synchronous process (that is, there will be a delay between adding the ‘Pay with Stripe’ link to the document and the customer completing the payment), the Stripe ‘charge’ is collected and processed by the Notifications process, which typically runs every hour. Please see the Notifications section for more details.