Produkte
Sie können das Produkt (oder die Dienstleistung) hinzufügen, das Sie verkaufen möchten. Die folgenden Schritte leiten Sie durch den Prozess des Hinzufügens eines Produkts.
Konfigurieren von Produkteigenschaften
Zuerst müssen Sie die grundlegenden Eigenschaften des Produkts verstehen:
- Tag
- Detail
- Währung
- Preis
- Menge
- Verkauft
Zahlungsanbieter
Neben dem Festlegen dieser Eigenschaften müssen Sie auch Zahlungsanbieter zum Produkt hinzufügen. Mehrere Zahlungsanbieter können zu einem Produkt hinzugefügt werden.
Um zu erfahren, wie Sie einen Zahlungsanbieter konfigurieren, siehe Zahlungsanbieter
Zum Schluss füllen Sie die Rückkehr-URL aus. Dies ist die URL, zu der die Seite des Zahlungsanbieters nach Abschluss der Zahlung weiterleitet.
Success URL (Optional)
If you need the provider to redirect users directly to a custom URL instead of the Casdoor callback page, you can fill in the Success URL field. When configured, Casdoor will append the payment owner and transaction name as query parameters to your provided URL.
For example, if you set the Success URL to http://example.com/payment/success
, users will be redirected to:
http://example.com/payment/success?transactionOwner={paymentOwner}&transactionName={paymentName}
You can include additional query parameters in your Success URL, such as:
http://example.com/payment/success?customParam=value&transactionOwner={paymentOwner}&transactionName={paymentName}
Important: If you configure the Success URL field, you must manually call the NotifyPayment
API to complete the transaction, otherwise the payment will fail.
Call the API endpoint: api/notify-payment/{paymentOwner}/{paymentName}
using the parameters provided in the Success URL query string.
Produktvorschau
Sie haben es geschafft! Überprüfen Sie die Details und speichern Sie: