メインコンテンツにスキップ

商品

販売したい商品(またはサービス)を追加できます。 商品を追加するプロセスを以下が案内します。

商品属性の設定

まず、商品の基本的な属性を理解する必要があります:

  • タグ
  • 詳細
  • 通貨
  • 価格
  • 数量
  • 販売済み

product_field.png

支払いプロバイダー

これらの属性を設定するだけでなく、商品に支払いプロバイダーを追加する必要があります。 複数の支払いプロバイダーを商品に追加できます。

支払いプロバイダーの設定方法については、支払いプロバイダーを参照してください

product_provider.png

最後に、リターンURLを記入してください。 これは、支払いが完了した後に支払いプロバイダーページがリダイレクトするURLです。

If you need the provider to redirect users directly to other links instead of the casdoor callback page, you can fill the SuccessUrl field, Casdoor will append payment owner and name behind the link you provider, for example http://example.com/patha/pathb?transactionOwner={paymentOwner}&transactionName={paymentName}&otherPrams=value.

注意

If you fill the SuccessUrl field, you must call NotifyPayment api manually, otherwise the transaction will fail.

You should call the NotifyPayment api api/notify-payment/paymentOwner/paymentName with the param we provided in SuccessUrl.

商品のプレビュー

完了しました! 詳細を確認して保存してください:

product_preview