Skip to content

WordPress Integration

The Sangho plugin for WordPress (without WooCommerce) adds shortcodes and Gutenberg blocks to embed payment buttons directly into your pages and posts.

Use Cases

  • Donation button on a nonprofit page
  • Payment to unlock premium content
  • Payment link in a blog post
  • Paid registration form for an event

Payment Shortcode

html
<sangho_button
  amount="5000"
  currency="XAF"
  label="Faire un don"
  success_url="/merci"
/>

Gutenberg Block

In the Gutenberg editor, search for the “Sangho Payment Button” block. Configure the amount, currency, and redirects directly from the block inspector, without writing any code.

Note

For a full e-commerce store, use the WooCommerce + Sangho plugin rather than the standalone WordPress plugin.