Short answer
HubSpot's KB: add the payments module to drag and drop pages or marketing emails; it shows a checkout button. On external sites, paste the embed code. Developers can add a payment field to custom modules.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Test checkout end to end before launch.