Hey @NathanAtGrowth (and thanks for the tag @Brenner
).
I think the only way to test a Payment link is:
- Navigate to Commerce > Payment Links in your HubSpot account
- Hover over the link you want to test and click Actions, then select Open link in test mode
- The link will open in test mode, indicated by a banner at the top of the checkout page
- Use the provided sample credit card or bank debit information to complete a test purchase
As for testing it in a custom module, I’m not sure how that afects the link itself, so I’m not understanding that layer and why you’d need to test in that module. If it’s a link, it operates the same whether it’s in a custom module, in an email, or behind a QR code - at least to my underatanding.
But that’s how I’d test the link before putting it into a module or location.
Hope that helps!