Preview: SendMock has no stable release yet. These docs follow develop.
SendMock
DeeperPayments

Flows in depth

Every control and text of Payments > Flows and the flow editor.

Every control and text this screen shows, in screen order. The list is read from the demo by a crawl, and CI fails when the screen changes without its entry here.

Payments > Flows holds the steps a customer goes through on test checkout pages.

The screen as a whole: Flows.

Flows, with a number on each control

The numbers match the entries below. The picture shows the first screenful; controls further down, and texts, have no marker.

On the screen

1. Flows

Heading.

  • What it does: Names the open screen in the header.

2. Read the Flows guide

Link.

  • What it does: Opens this screen's page in the user guide, in a new tab.
  • Links to: Flows.

3. Payment flows

Heading.

4. The steps a customer goes through on test checkout pages. Each method runs one flow.

Text.

  • What it does: Explains the screen.

5. Add flow

Button.

6. Flow

Column.

  • What it does: The flow's name.

7. Steps

Column.

  • What it does: Its steps, in order.

8. Picker tab

Column.

  • What it does: The tab its methods show under on checkout pages.

9. Methods

Column.

  • What it does: The methods that run it.

10. Edit Card

Button.

11. Edit Wallet

Button.

12. Edit Bank

Button.

13. Edit Account

Button.

14. Edit QR

Button.

15. Edit Bank transfer

Button.

16. Edit Voucher

Button.

Add a payment flow dialog

17. Add a payment flow

Heading.

  • What it does: The Add a payment flow dialog.

18. Name it and pick where to start; you compose its steps next.

Text.

19. Name

Field.

  • What it does: The name.

20. Key

Field.

  • What it does: The key, fixed once added.

21. Used by the API; fixed once added.

Text.

  • What it does: Explains the key.

22. Picker tab

Field.

  • What it does: The tab its methods show under on checkout pages.

23. Its methods show under this tab on checkout pages, e.g. Mobile banking.

Text.

  • What it does: Explains the picker tab.

24. Start from

Drop-down.

  • What it does: Blank, or a flow to copy.

25. Cancel

Button.

  • What it does: Closes the dialog or editor without saving.

26. Add flow

Button.

27. Close

Button.

  • What it does: Closes the dialog or editor without saving.

Flow editor

28. Card

Heading.

  • What it does: The method or flow open in the editor (here Card).

29. Flow, key card . Used by Card.

Text.

  • What it does: The flow's key and the methods that use it.

30. Name

Field.

  • What it does: The name.

31. Picker tab

Field.

  • What it does: The tab its methods show under on checkout pages.

32. Its methods show under this tab on checkout pages.

Text.

  • What it does: Explains the picker tab.

33. Variable

Column.

  • What it does: A value the steps' texts can use.

34. Becomes

Column.

  • What it does: What it reads from the payment.

35. Example

Column.

36. Steps

Heading.

  • What it does: The flow's steps.

37. The checkout page runs them in this order.

Text.

  • What it does: Explains the step order.

38. Add step

Button.

39. Move Step #: Card form up

Button.

  • What it does: Runs the step earlier.

40. Move Step #: Card form down

Button.

  • What it does: Runs the step later.

41. Remove Step #: Card form

Button.

42. Title

Field.

  • What it does: The step's title on the checkout page.

43. Insert variable into Step #: Card form title

Button.

  • What it does: Inserts a flow variable, such as the amount, into the title.

44. Field label

Field.

  • What it does: The label of its field.

45. Insert variable into Step #: Card form field label

Button.

  • What it does: Inserts a flow variable, such as the amount, into the field label.

46. Hint

Field.

  • What it does: A hint under the field.

47. Insert variable into Step #: Card form hint

Button.

  • What it does: Inserts a flow variable, such as the amount, into the hint.

48. Button text

Field.

  • What it does: Its button's text.

49. Insert variable into Step #: Card form button text

Button.

  • What it does: Inserts a flow variable, such as the amount, into the button text.

50. Preview: Card number · [Pay BDT #,#.#]

Text.

  • What it does: How the step looks on a checkout page.

51. Reset to default

Button.

  • What it does: Brings back the shipped definition, after you confirm.

52. Cancel

Button.

  • What it does: Closes the dialog or editor without saving.

53. Save flow

Button.

54. Close

Button.

  • What it does: Closes the dialog or editor without saving.

When the data cannot load

55. Could not load the payment flows. Try again

Message.

  • What it does: Shown when the flows could not be loaded.
  • Errors: Check SendMock is running, then press Try again.

56. Could not load the payment flows.

Text.

  • What it does: The message inside the alert.

57. Try again

Button.

On this page