> For the complete documentation index, see [llms.txt](https://docs.opusbooster.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opusbooster.com/platform/widgets/donation-widget.md).

# 寄付ウィジェット

もしあなたが寄付の支払いを受けたい、またはあなたが望むものを支払うことを望んでいるなら、このウィジェットはあなたのためのものです。

寄付金ウィジェットに移動して、好きなページに配置してください。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FOh8vOfJ6k4eVMm3JblKo%2Fdonations%20widget.PNG?alt=media\&token=2d0bb735-5232-49fa-bea5-ae06667a33ad)

### 設定

寄付金ウィジェットは、通常のストアの商品とチェックアウトとは異なり、少し異なる方法で動作し、セットアップされます。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2Fn7eb15gOSbRa8ZWrAmRh%2Fdonations%20settings%20tab.PNG?alt=media\&token=5c96295b-fd90-4a4e-aff6-8b8de3ebf1cd)

決済ゲートウェイ：寄付を受け取るために、StripeとBraintreeの2つの決済ゲートウェイを提供しています。どちらもセットアップのデザインは似ています。Stripe/Braintreeのapiキーを追加するだけで、自動的に接続されます。

希望する決済システムを追加した次のステップは、割り当て額を設定するか、寄付をする人が寄付額を入力できるようにするかを選択することです。

{% hint style="info" %}
注：ストアへの寄付金は、ストア分析ダッシュボードに追加されません
{% endhint %}

表示したい通貨と支払いを受けたい通貨を選択すれば、ほぼ完了です！

次に、顧客を[メールマーケティングリスト](/platform/email-and-automation/email-lists.md)に追加します。これはオプションで、顧客が寄付をしたときに、特定のメールリストに追加するかどうかを設定します。

**サンキューページ**： お客様が寄付をした後の動作を設定します。シンプルなお礼のメッセージを表示したり、ウェブサイト内の特定のページや外部URLに誘導したりすることができます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.opusbooster.com/platform/widgets/donation-widget.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
