Skip to main content

Hosted Checkout

The Hosted Checkout integration allows you to redirect customers from your site to a Fondy-hosted payment page, where Apple Pay and other payment methods are automatically available. This method is ideal for businesses that want a quick, secure, and hassle-free integration.

How it works

  • The merchant creates an order using the Fondy API.
  • The payer is redirected to the hosted checkout page, where the Apple Pay button is automatically displayed.
  • The payment is processed securely on Fondy’s platform.
  • The payer is redirected back to the merchant’s site with the transaction status.

If you prefer to keep customers on your website without redirections, consider the Embedded Apple Pay Button or Direct Integration with Apple Pay API.

Key Differences:

  • Hosted Checkout: Customers are redirected to https://pay.fondy.eu, where the payment form is displayed.
  • Embedded/Direct Integration: Customers stay on your site throughout the checkout process.

Customizing the Checkout Page

You can customize the Hosted Checkout page using Design presets to match your branding. This allows you to modify colors, logos, and styles to provide a seamless user experience.

For Developers

We also provide code examples and SDK for different programming languages to simplify the integration process:

Alternative integration methods

For alternative integration methods, explore Embedded Apple Pay Button or Direct API Integration.

Examples

  <script type="text/x-vue-template" id="f-fields">
<div>
<input-amount name="amount" label="my_amount"></input-amount>
<input-text
name="order_desc"
value="order_desc"
label="Product Description"
description="description"
custom
></input-text>
</div>
</script>

<script>
checkout('#app', {
options: {
fields: true,
},
params: {
currency: 'GBP',
merchant_id: 1549901,
amount: 100,
response_url: 'http://example.com/result/',
api_domain: 'pay.Fondy.io',
},
})
</script>