Guides
Checkout Button
Use the Benny Checkout Button for single-item checkout
The Benny “Checkout Button” is the easiest way to integrate Benny’s hosted checkout into your store and supports single-item checkout. If you’d like to support multiple items, please follow the Quickstart guide for the API integration.
Configuration
The Benny EBT “Checkout Button” has the same required fields as the API method for creating a transaction. They’re:
publicKey
: The Benny public key obtained from the Benny EBT merchant dashboardonSuccessRedirectUrl
: Where the browser navigates a customer on successful checkoutonExitRedirectUrl
: Where the browser navigates a customer when exiting checkoutitems
: An array of size one for the single-item sold from the link. See the expected item fields for more information.
On button click, the customer is re-directed to a unique checkout session, returning them to the appropriate page on exit or completion.
Example integration