このページのトップへ
単一製品の支払いを集める

単一製品の支払いを集める

サイト訪問者から迅速かつ安全な支払いを収集します。

中級.png

中級

2K

出版された:

2020年1月1日

酒を楽しむ少女

によって

アンカー 1
開発者を雇う

説明例

In this example we created a custom payment experience for a site visitor, using the Velo Pay API.

コード例

タブ1

.

タブ2

.

タブ3

.

このコードによる解決は複雑になる可能性がある。

どのように構築したか

Before you start working with the Wix Pay API, make sure you do the following:

  • Apply all necessary security precautions for working with payments in code. Specifically, make sure to always define payment information in the backend.

  • Set up accepted payment methods on your site. We also recommend that you understand the typical payment process before proceeding.


仕組み


We displayed a product for sale and added a payment button. When a visitor clicks the button, the BE_PayAPI.jsw backend module is called, and the Wix Pay createPayment() function creates a payment info object with a unique payment ID.

 

The Wix Pay startPayment() function runs in the client-side with the payment ID, opening a payment popup. The visitor enters payment information and completes the transaction.


次のステップ


  1. この例をエディターで開き、テンプレートを操作してください。

  2. サイトを公開する。

  3. どのように Veloでの例題の扱い方.

使用したAPI

コード以外の例。

関連記事

開発者を雇う

Veloソリューションは強力なツールですが、自力で構築するのは困難です。経験豊富なVelo開発会社に構築をお任せください。

関連例

これは役に立ったか?

はい

|

いいえ

ご意見ありがとう!

データベース・コレクション内の商品に対する支払いを収集する

データベース・コレクション内の商品に対する支払いを収集する

データベースコレクション内の商品に対して、迅速かつ安全に支払いを行うことができます。

中級.png

中級

Currency Converter

Currency Converter

Convert a specified amount of money from one currency to another

中級.png

中級

アンカー2
ページ下