Ask for Payment action

近日公開予定

Use the Ask for Payment action in digital bot flows to request payment from a customer who is purchasing goods and services through a digital messaging channel. For example, when a customer is interacting with a digital bot through the Apple Messages for Business channel, the customer can use Apple Pay to make the payment.

Note: The Ask for Payment action is available for Apple Messages for Business only. The action takes the failure path if you use it in any other unsupported channels. For more information about setting up an Apple Pay merchant account, see Configure ACD for Apple integrations.
フィールド 説明
名前

The label you enter here becomes the name of the action in the flow.

通貨 

Select a currency code for the payment from the drop-down list.

国コード

Select a country code for the payment from the drop-down list.

Payment Platform

Select the payment platform through which the transaction must occur. 

Note: As the Ask for Payment action is currently available for Apple Messages for Business only, the payment platform is also limited to Apply Pay.

Line Items

Optionally, you can split the total payment value into line items that explain payments and additional charges. For example, if you want to indicate any additional charges, discounts (negative value), or estimated tax amount as part of the total value. You can add up to 10 line items.

In Literal mode, click Line Item to add a new line item. Then, customize each line item using the following fields:

  • Listing Name: Provide a short name for the listing item. For example, “Discounts.”
  • Listing Price: Enter the value of the line item. Negative values are also allowed.
Shipping Options

Optionally, define a list of the available shipping methods. You can add up to four shipping options.

In Literal mode, click Shipping Option to add a new shipping option. Then, customize each shipping option using the following fields:

  • Label: Provide a short description of the shipping method. For example, “In-store pick up.”
  • Identifier: Define a unique value that can be used to identify this shipping method.
  • Shipping Details: Provide an additional description of the shipping method. For example, “Estimated delivery in 10 days.”
  • Price: Enter the cost associated with this shipping method.

Note: The Apple Pay payment message displays the first shipping option from the list as the default shipping method.

Total Price

Set the total amount for the customer to pay. 

Click Increase or Decrease to adjust the amount, or manually enter the amount.

Note: Ensure that the total cost is the sum of all subtotals that you defined in the line items.

連絡情報

List the contact details that the customer must fill in before they can make the payment. 

Click String to add one of the following pre-defined fields:

  • Email: The email address of the payer
  • Name: The payer name
  • Phone: The payer’s phone number
  • Address: The payer’s address
Received Message

Customize the message that the customer receives when the digital bot sends the payment request.

To customize the received message, click the Received Message tile and perform the following steps:

  • Add a title for the received message.
  • (Optional) Add an image. 
  • (Optional) Add a subtitle.

Note: If no image is configured for the received message when using Apple Messages for Business, the default Apple Pay icon is used.

Reply Message Customize the title of the reply message that the bot receives after the customer interacts with the payment request.
Payment Completion Timeout

Set the timeout before which the customer must complete the payment. If this timeout expires, the flow triggers a No Input event.

Click Increase or Decrease to adjust the timeout, or manually enter the timeout.

一致なし

ユーザーの入力が有効な一致でない場合にボットが出す通信を入力します。

注意: ボットは、設定 > ユーザー入力 > No Match Detected > No Match Apology の内容を、No Match コミュニケーション と組み合わせて返します。

カスタマイズ No Match

No Match Reprompts フィールドを有効にします。 このオプションを使用して、ボットがNo Match入力イベントを受信したときに段階的に発生するNo Matchプロンプトのリストを作成します。

No Match Reprompts

ボットはNo Match入力を受け取ると、No Match Repromptsコレクションの中で、そのアクションに対して受け取った現在のNo Match入力の数に対応する通信を返します。 例えば、最初のNo Match入力がトリガーとなり、ボットは定義されたコレクション内の最初のNo Matchリプロンプトを使用します。

No Match Repromptコレクションの長さは、その特定のアクションの[設定]>[ユーザー入力]>[No Match Detected]>[NoMatch再試行の最大数]で定義したNo Match再試行の最大数より優先されます。 例えば、コレクションに2つのリプロンプトを定義した場合、ボットは2回リトライします。 空のコレクションは、No Matchの再試行をオフにします。

注意: ボットは、設定>ユーザー入力>No Match Detected>No Match Apologyと、対応するNo Match Reprompt通信を組み合わせて返します。

初期設定 一致しない

デフォルトの「No Match」フィールドを有効にします。 このオプションを使用すると、ボットがNo Match入力イベントを受信したときに表示されるNo Matchプロンプトを1つ定義することができます。

パス
  • 最大入力なし : Max No Inputsパスの有効/無効を設定します。 このオプションを有効にすると、ボットがこのアクションに設定した無入力リトライの最大数を超えた場合、フローはこの出力経路をたどります。
  • 最大一致なし:最大一致数パスを有効または無効にします。このオプションを有効にすると、ボットがこのアクションに設定した一致なしの再試行の最大回数を超えると、フローはこの出力パスに従います。

注意: このパスを無効にした場合、出力パスに設定したフローは削除されず、非表示になります。

成功パスと失敗パスを定義する

パス 説明
成功

This path indicates that the system successfully processed the payment.

To follow the route you want the interaction to take, drag the appropriate action below the Success path.

失敗

This path indicates that the system was unable to process the payment.

インタラクションの実行ルートを指定するには、適切なアクションを「失敗」パスの下にドラッグします。