@paydock/client-sdk 1.104.6-beta → 1.104.9-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +58 -59
  2. package/bundles/index.cjs +71 -44
  3. package/bundles/index.cjs.d.ts +12 -12
  4. package/bundles/index.cjs.map +1 -1
  5. package/bundles/index.mjs +71 -44
  6. package/bundles/index.mjs.d.ts +12 -12
  7. package/bundles/index.mjs.map +1 -1
  8. package/bundles/types/api/api-service-internal.d.ts +1 -1
  9. package/bundles/types/api/api-service-internal.d.ts.map +1 -1
  10. package/bundles/types/components/wallet-background.d.ts +2 -1
  11. package/bundles/types/components/wallet-background.d.ts.map +1 -1
  12. package/bundles/types/helper/element-id.d.ts +5 -0
  13. package/bundles/types/helper/element-id.d.ts.map +1 -0
  14. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +31 -0
  15. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -0
  16. package/bundles/types/secure-remote-commerce/index.d.ts +4 -4
  17. package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -1
  18. package/bundles/types/secure-remote-commerce/interfaces.d.ts +4 -4
  19. package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -1
  20. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +1 -1
  21. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +4 -4
  22. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -1
  23. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +3 -3
  24. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -1
  25. package/bundles/types/wallet-buttons/flypay-v2.wallet-service.d.ts +1 -1
  26. package/bundles/types/wallet-buttons/flypay-v2.wallet-service.d.ts.map +1 -1
  27. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts +5 -3
  28. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +1 -1
  29. package/bundles/widget.umd.js +71 -44
  30. package/bundles/widget.umd.js.d.ts +12 -12
  31. package/bundles/widget.umd.js.map +1 -1
  32. package/bundles/widget.umd.js.min.d.ts +12 -12
  33. package/bundles/widget.umd.min.js +1 -1
  34. package/bundles/widget.umd.min.js.map +1 -1
  35. package/docs/{secure-remote-commerce-examples.md → click-to-pay-examples.md} +18 -19
  36. package/docs/{secure-remote-commerce.md → click-to-pay.md} +40 -40
  37. package/docs/html/layout.html +3 -3
  38. package/package.json +45 -45
  39. package/slate.md +18 -19
  40. package/bundles/types/secure-remote-commerce/mastercard-secure-remote-commerce.d.ts +0 -31
  41. package/bundles/types/secure-remote-commerce/mastercard-secure-remote-commerce.d.ts.map +0 -1
package/README.md CHANGED
@@ -6378,20 +6378,20 @@ List of available event's name in the wallet button lifecycle
6378
6378
  | ON_CLICK | <code>string</code> | <code>&quot;onClick&quot;</code> |
6379
6379
 
6380
6380
 
6381
- # Secure Remote Commerce
6381
+ # Click To Pay
6382
6382
 
6383
6383
  ## Overview
6384
6384
 
6385
- Integrate with Mastercard SRC using Paydock's Mastercard SRC widget.
6386
- For a full description of the methods and parameters, reference the [README file](https://www.npmjs.com/package/@paydock/client-sdk#SRC).
6385
+ Integrate with Click To Pay using Paydock's Click To Pay widget.
6386
+ For a full description of the methods and parameters, reference the [README file](https://www.npmjs.com/package/@paydock/client-sdk#ClickToPay).
6387
6387
 
6388
- ## SRC simple example
6388
+ ## Click To Pay simple example
6389
6389
 
6390
6390
  The following section provides an example use case and integration for the widget.
6391
6391
 
6392
6392
  ### Create a Container
6393
6393
 
6394
- To integrate the SRC checkout iFrame, create a container in your HTML code. This container serves as the placeholder for the iFrame.
6394
+ To integrate the Click To Pay checkout iFrame, create a container in your HTML code. This container serves as the placeholder for the iFrame.
6395
6395
 
6396
6396
  ```html
6397
6397
  <div id="checkoutIframe"></div>
@@ -6402,7 +6402,7 @@ To integrate the SRC checkout iFrame, create a container in your HTML code. This
6402
6402
  Use the following code to initialize your widget:
6403
6403
 
6404
6404
  ```javascript
6405
- var src = new paydock.MastercardSRCClickToPay(
6405
+ var src = new paydock.ClickToPay(
6406
6406
  "#checkoutIframe",
6407
6407
  "service_id",
6408
6408
  "paydock_public_key_or_access_token",
@@ -6413,8 +6413,8 @@ src.load();
6413
6413
 
6414
6414
  ```javascript
6415
6415
  // ES2015 | TypeScript
6416
- import { MastercardSRCClickToPay } from '@paydock/client-sdk';
6417
- var src = new MastercardSRCClickToPay(
6416
+ import { ClickToPay } from '@paydock/client-sdk';
6417
+ var src = new ClickToPay(
6418
6418
  "#checkoutIframe",
6419
6419
  "service_id",
6420
6420
  "paydock_public_key_or_access_token",
@@ -6441,7 +6441,7 @@ A full example of the container and the initialized widget is as follows:
6441
6441
  <div id="checkoutIframe"></div>
6442
6442
  <script src="https://widget.paydock.com/sdk/latest/widget.umd.min.js" ></script>
6443
6443
  <script>
6444
- var src = new paydock.MastercardSRCClickToPay(
6444
+ var src = new paydock.ClickToPay(
6445
6445
  "#checkoutIframe",
6446
6446
  "service_id",
6447
6447
  "paydock_public_key_or_access_token",
@@ -6453,7 +6453,7 @@ A full example of the container and the initialized widget is as follows:
6453
6453
  </html>
6454
6454
  ```
6455
6455
 
6456
- ## Customize your SRC Checkout
6456
+ ## Customize your Click To Pay Checkout
6457
6457
 
6458
6458
  The following is an advanced example that includes customization. You can use these methods to enhance your checkout experience.
6459
6459
 
@@ -6491,7 +6491,7 @@ src.on('checkoutError', (error) => {
6491
6491
  <div id="checkoutIframe"></div>
6492
6492
  <script src="https://widget.paydock.com/sdk/latest/widget.umd.min.js" ></script>
6493
6493
  <script>
6494
- var src = new paydock.MastercardSRCClickToPay(
6494
+ var src = new paydock.ClickToPay(
6495
6495
  "#checkoutIframe",
6496
6496
  "service_id",
6497
6497
  "paydock_public_key_or_access_token",
@@ -6521,7 +6521,7 @@ To customize your billing address experience, Paydock uses a flag that manages w
6521
6521
  The options for this customization are NONE (default option), and POSTAL_COUNTRY or FULL.
6522
6522
 
6523
6523
  ```
6524
- var src = new paydock.MastercardSRCClickToPay(
6524
+ var src = new paydock.ClickToPay(
6525
6525
  "#checkoutIframe",
6526
6526
  "service_id",
6527
6527
  "paydock_public_key_or_access_token",
@@ -6533,11 +6533,10 @@ var src = new paydock.MastercardSRCClickToPay(
6533
6533
  );
6534
6534
  ```
6535
6535
 
6536
- The SRC checkout in the example requires the billing address from the customer, which is then returned as a part of the checkout data. The data is then stored and leveraged in the Paydock charge.
6537
- You can also provide the billing address at the time of creating the charge. For example, if you have a different method for collecting the billing address, such as outside of the SRC checkout, you can provide it alongside other information at the charge creation step:
6538
-
6539
- 1. Disable the billing address in Paydock's SRC widget.
6540
- 2. Get your One Time Token from the SRC widget alongside other details that may have been collected outside the SRC checkout as the shipping address.
6536
+ The Click To Pay checkout in the example requires the billing address from the customer, which is then returned as a part of the checkout data. The data is then stored and leveraged in the Paydock charge.
6537
+ You can also provide the billing address at the time of creating the charge. For example, if you have a different method for collecting the billing address, such as outside of the Click To Pay checkout, you can provide it alongside other information at the charge creation step:
6538
+ 1. Disable the billing address in Paydock's Click To Pay widget.
6539
+ 2. Get your One Time Token from the Click To Pay widget alongside other details that may have been collected outside the Click To Pay checkout as the shipping address.
6541
6540
  3. Send the billing address when creating the charge.
6542
6541
 
6543
6542
  ```
@@ -6578,7 +6577,7 @@ You can send a flag `unaccepted_card_type` to block the usage of a specific card
6578
6577
  The following example demonstrates how to block the card:
6579
6578
 
6580
6579
  ```
6581
- var src = new paydock.MastercardSRCClickToPay(
6580
+ var src = new paydock.ClickToPay(
6582
6581
  "#checkoutIframe",
6583
6582
  "service_id",
6584
6583
  "paydock_public_key",
@@ -6595,7 +6594,7 @@ Customize the look and feel of your UI. The following example demonstrates chang
6595
6594
  ### Example code
6596
6595
 
6597
6596
  ```
6598
- var src = new paydock.MastercardSRCClickToPay(
6597
+ var src = new paydock.ClickToPay(
6599
6598
  "#checkoutIframe",
6600
6599
  "service_id",
6601
6600
  "paydock_public_key",
@@ -6614,8 +6613,8 @@ src.setStyles({
6614
6613
  ## Classes
6615
6614
 
6616
6615
  <dl>
6617
- <dt><a href="#MastercardSRCClickToPay">MastercardSRCClickToPay</a> ⇐ <code>SRC</code></dt>
6618
- <dd><p>Class MastercardSRCClickToPay include methods for interacting with the MastercardSRC checkout and Manual Card option</p>
6616
+ <dt><a href="#ClickToPay">ClickToPay</a> ⇐ <code>SRC</code></dt>
6617
+ <dd><p>Class ClickToPay include methods for interacting with the ClickToPay checkout and Manual Card option</p>
6619
6618
  </dd>
6620
6619
  </dl>
6621
6620
 
@@ -6633,7 +6632,7 @@ src.setStyles({
6633
6632
  When the flow type is src, masked checkoutData available is also returned</p>
6634
6633
  </dd>
6635
6634
  <dt><a href="#IStyles">IStyles</a> : <code>object</code></dt>
6636
- <dd><p>Interface for style configs inyected to the SRC checkout</p>
6635
+ <dd><p>Interface for style configs inyected to the Click to Pay checkout</p>
6637
6636
  </dd>
6638
6637
  </dl>
6639
6638
 
@@ -6662,7 +6661,7 @@ Interface of data used for the Mastercard Checkout. For further information refe
6662
6661
  | [dpa_data.dpa_supported_phone_number.phone_number] | <code>string</code> | The phone number part of the phone number. |
6663
6662
  | [dpa_data.dpa_support_uri] | <code>string</code> | URI for DPA support. |
6664
6663
  | [dpa_data.application_type] | <code>string</code> | Application type, either 'WEB_BROWSER' or 'MOBILE_APP'. |
6665
- | [co_brand_names] | <code>Array.&lt;string&gt;</code> | List of co-brand names associated with the SRC experience. |
6664
+ | [co_brand_names] | <code>Array.&lt;string&gt;</code> | List of co-brand names associated with the Click to Pay experience. |
6666
6665
  | [checkout_experience] | <code>string</code> | Checkout experience type, either 'WITHIN_CHECKOUT' or 'PAYMENT_SETTINGS'. |
6667
6666
  | [services] | <code>string</code> | Services offered, such as 'INLINE_CHECKOUT' or 'INLINE_INSTALLMENTS'. |
6668
6667
  | [dpa_transaction_options] | <code>object</code> | Object that stores options for creating a transaction with DPA. |
@@ -6740,7 +6739,7 @@ When the flow type is src, masked checkoutData available is also returned
6740
6739
  <a name="IStyles" id="IStyles" href="#IStyles">&nbsp;</a>
6741
6740
 
6742
6741
  ## IStyles : <code>object</code>
6743
- Interface for style configs inyected to the SRC checkout
6742
+ Interface for style configs inyected to the Click to Pay checkout
6744
6743
 
6745
6744
  **Kind**: global interface
6746
6745
 
@@ -6751,19 +6750,19 @@ Interface for style configs inyected to the SRC checkout
6751
6750
  | [secondary_button_color] | <code>string</code> | Color Code for secondary button. |
6752
6751
  | [secondary_button_text_color] | <code>string</code> | Color Code for secondary button text. |
6753
6752
  | [font_family] | <code>string</code> | Font family to be used. |
6754
- | [enable_src_popup] | <code>boolean</code> | Boolean flag to make the SRC checkout show in a popup window instead of embedded in iframe. |
6753
+ | [enable_src_popup] | <code>boolean</code> | Boolean flag to make the Click to Pay checkout show in a popup window instead of embedded in iframe. |
6755
6754
 
6756
- <a name="MastercardSRCClickToPay" id="MastercardSRCClickToPay" href="#MastercardSRCClickToPay">&nbsp;</a>
6755
+ <a name="ClickToPay" id="ClickToPay" href="#ClickToPay">&nbsp;</a>
6757
6756
 
6758
- ## MastercardSRCClickToPay ⇐ <code>SRC</code>
6759
- Class MastercardSRCClickToPay include methods for interacting with the MastercardSRC checkout and Manual Card option
6757
+ ## ClickToPay ⇐ <code>SRC</code>
6758
+ Class ClickToPay include methods for interacting with the ClickToPay checkout and Manual Card option
6760
6759
 
6761
6760
  **Kind**: global class
6762
6761
  **Extends**: <code>SRC</code>
6763
6762
 
6764
- * [MastercardSRCClickToPay](#MastercardSRCClickToPay) ⇐ <code>SRC</code>
6765
- * [new MastercardSRCClickToPay(iframe_selector, service_id, public_key_or_access_token, meta)](#new_MastercardSRCClickToPay_new)
6766
- * [.load()](#MastercardSRCClickToPay+load)
6763
+ * [ClickToPay](#ClickToPay) ⇐ <code>SRC</code>
6764
+ * [new ClickToPay(iframe_selector, service_id, public_key_or_access_token, meta)](#new_ClickToPay_new)
6765
+ * [.load()](#ClickToPay+load)
6767
6766
  * [.setStyles(fields)](#SRC+setStyles)
6768
6767
  * [.setEnv(env, [alias])](#SRC+setEnv)
6769
6768
  * [.getEnv()](#SRC+getEnv)
@@ -6773,33 +6772,33 @@ Class MastercardSRCClickToPay include methods for interacting with the Mastercar
6773
6772
  * [.reload()](#SRC+reload)
6774
6773
  * [.useAutoResize()](#SRC+useAutoResize)
6775
6774
 
6776
- <a name="new_MastercardSRCClickToPay_new" id="new_MastercardSRCClickToPay_new" href="#new_MastercardSRCClickToPay_new">&nbsp;</a>
6775
+ <a name="new_ClickToPay_new" id="new_ClickToPay_new" href="#new_ClickToPay_new">&nbsp;</a>
6777
6776
 
6778
- ### new MastercardSRCClickToPay(iframe_selector, service_id, public_key_or_access_token, meta)
6777
+ ### new ClickToPay(iframe_selector, service_id, public_key_or_access_token, meta)
6779
6778
 
6780
6779
  | Param | Type | Description |
6781
6780
  | --- | --- | --- |
6782
- | iframe_selector | <code>string</code> | Selector of html element. Container for SRC checkout iFrame. |
6781
+ | iframe_selector | <code>string</code> | Selector of html element. Container for Click To Pay checkout iFrame. |
6783
6782
  | service_id | <code>string</code> | Card Scheme Service ID |
6784
6783
  | public_key_or_access_token | <code>string</code> | Paydock public key or Access Token |
6785
- | meta | [<code>IMastercardSRCMeta</code>](#IMastercardSRCMeta) | Data that configures the SRC checkout |
6784
+ | meta | <code>IClickToPayMeta</code> | Data that configures the Click To Pay checkout |
6786
6785
 
6787
6786
  **Example**
6788
6787
  ```js
6789
- var mastercardSRC = new MastercardSRCClickToPay('#checkoutIframe', 'service_id', 'public_key', {});
6788
+ var mastercardSRC = new ClickToPay('#checkoutIframe', 'service_id', 'public_key', {});
6790
6789
  ```
6791
- <a name="MastercardSRCClickToPay+load" id="MastercardSRCClickToPay+load" href="#MastercardSRCClickToPay+load">&nbsp;</a>
6790
+ <a name="ClickToPay+load" id="ClickToPay+load" href="#ClickToPay+load">&nbsp;</a>
6792
6791
 
6793
- ### mastercardSRCClickToPay.load()
6794
- The final method after configuring the SRC to start the load process of SRC checkout
6792
+ ### clickToPay.load()
6793
+ The final method after configuring the SRC to start the load process of Click To Pay checkout
6795
6794
 
6796
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6795
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6797
6796
  <a name="SRC+setStyles" id="SRC+setStyles" href="#SRC+setStyles">&nbsp;</a>
6798
6797
 
6799
- ### mastercardSRCClickToPay.setStyles(fields)
6798
+ ### clickToPay.setStyles(fields)
6800
6799
  Object contain styles for widget - call before `.load()`.
6801
6800
 
6802
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6801
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6803
6802
  **Overrides**: [<code>setStyles</code>](#SRC+setStyles)
6804
6803
 
6805
6804
  | Param | Type | Description |
@@ -6819,11 +6818,11 @@ widget.setStyles({
6819
6818
  ```
6820
6819
  <a name="SRC+setEnv" id="SRC+setEnv" href="#SRC+setEnv">&nbsp;</a>
6821
6820
 
6822
- ### mastercardSRCClickToPay.setEnv(env, [alias])
6821
+ ### clickToPay.setEnv(env, [alias])
6823
6822
  Current method can change environment. By default environment = sandbox.
6824
6823
  Also we can change domain alias for this environment. By default domain_alias = paydock.com
6825
6824
 
6826
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6825
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6827
6826
  **Overrides**: [<code>setEnv</code>](#SRC+setEnv)
6828
6827
 
6829
6828
  | Param | Type | Description |
@@ -6837,10 +6836,10 @@ SRC.setEnv('production');
6837
6836
  ```
6838
6837
  <a name="SRC+getEnv" id="SRC+getEnv" href="#SRC+getEnv">&nbsp;</a>
6839
6838
 
6840
- ### mastercardSRCClickToPay.getEnv()
6839
+ ### clickToPay.getEnv()
6841
6840
  Method to read the current environment
6842
6841
 
6843
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6842
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6844
6843
  **Overrides**: [<code>getEnv</code>](#SRC+getEnv)
6845
6844
  **Example**
6846
6845
  ```js
@@ -6848,10 +6847,10 @@ SRC.getEnv();
6848
6847
  ```
6849
6848
  <a name="SRC+on" id="SRC+on" href="#SRC+on">&nbsp;</a>
6850
6849
 
6851
- ### mastercardSRCClickToPay.on(eventName, [cb]) ⇒ <code>Promise.&lt;any&gt;</code> \| <code>void</code>
6850
+ ### clickToPay.on(eventName, [cb]) ⇒ <code>Promise.&lt;any&gt;</code> \| <code>void</code>
6852
6851
  Listen to events of SRC
6853
6852
 
6854
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6853
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6855
6854
  **Overrides**: [<code>on</code>](#SRC+on)
6856
6855
 
6857
6856
  | Param | Type | Description |
@@ -6871,10 +6870,10 @@ SRC.on('checkoutCompleted').then(function (token) {
6871
6870
  ```
6872
6871
  <a name="SRC+hideCheckout" id="SRC+hideCheckout" href="#SRC+hideCheckout">&nbsp;</a>
6873
6872
 
6874
- ### mastercardSRCClickToPay.hideCheckout([saveSize])
6873
+ ### clickToPay.hideCheckout([saveSize])
6875
6874
  Using this method you can hide checkout after load and button click
6876
6875
 
6877
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6876
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6878
6877
  **Overrides**: [<code>hideCheckout</code>](#SRC+hideCheckout)
6879
6878
 
6880
6879
  | Param | Type | Default | Description |
@@ -6887,10 +6886,10 @@ SRC.hideCheckout();
6887
6886
  ```
6888
6887
  <a name="SRC+showCheckout" id="SRC+showCheckout" href="#SRC+showCheckout">&nbsp;</a>
6889
6888
 
6890
- ### mastercardSRCClickToPay.showCheckout()
6889
+ ### clickToPay.showCheckout()
6891
6890
  Using this method you can show checkout after using hideCheckout method
6892
6891
 
6893
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6892
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6894
6893
  **Overrides**: [<code>showCheckout</code>](#SRC+showCheckout)
6895
6894
  **Example**
6896
6895
  ```js
@@ -6898,10 +6897,10 @@ SRC.showCheckout()
6898
6897
  ```
6899
6898
  <a name="SRC+reload" id="SRC+reload" href="#SRC+reload">&nbsp;</a>
6900
6899
 
6901
- ### mastercardSRCClickToPay.reload()
6900
+ ### clickToPay.reload()
6902
6901
  Using this method you can reload the whole checkout
6903
6902
 
6904
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6903
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6905
6904
  **Overrides**: [<code>reload</code>](#SRC+reload)
6906
6905
  **Example**
6907
6906
  ```js
@@ -6909,10 +6908,10 @@ SRC.reload()
6909
6908
  ```
6910
6909
  <a name="SRC+useAutoResize" id="SRC+useAutoResize" href="#SRC+useAutoResize">&nbsp;</a>
6911
6910
 
6912
- ### mastercardSRCClickToPay.useAutoResize()
6911
+ ### clickToPay.useAutoResize()
6913
6912
  Use this method for resize checkout iFrame according to content height, if applicable
6914
6913
 
6915
- **Kind**: instance method of [<code>MastercardSRCClickToPay</code>](#MastercardSRCClickToPay)
6914
+ **Kind**: instance method of [<code>ClickToPay</code>](#ClickToPay)
6916
6915
  **Overrides**: [<code>useAutoResize</code>](#SRC+useAutoResize)
6917
6916
  **Example**
6918
6917
  ```js
@@ -6921,7 +6920,7 @@ SRC.useAutoResize();
6921
6920
  <a name="EVENT" id="EVENT" href="#EVENT">&nbsp;</a>
6922
6921
 
6923
6922
  ## EVENT : <code>enum</code>
6924
- List of available event's name in the SRC checkout lifecycle
6923
+ List of available event's name in the Click To Pay checkout lifecycle
6925
6924
 
6926
6925
  **Kind**: global enum
6927
6926
 
@@ -6929,8 +6928,8 @@ List of available event's name in the SRC checkout lifecycle
6929
6928
  | --- | --- | --- | --- |
6930
6929
  | IFRAME_LOADED | <code>string</code> | <code>&quot;iframeLoaded&quot;</code> | Initial event sent when IFrame is initially loaded. |
6931
6930
  | CHECKOUT_READY | <code>string</code> | <code>&quot;checkoutReady&quot;</code> | Event sent when checkout is loaded and ready to be used by customer. Leverage alongside [showCheckout](#SRC+showCheckout) and [hideCheckout](#SRC+hideCheckout). |
6932
- | CHECKOUT_POPUP_OPEN | <code>string</code> | <code>&quot;checkoutPopupOpen&quot;</code> | Event sent when SRC Checkout flow is started, regardless of embedded or windowed mode. |
6933
- | CHECKOUT_POPUP_CLOSE | <code>string</code> | <code>&quot;checkoutPopupClose&quot;</code> | Event sent when SRC Checkout flow is closed, regardless of embedded or windowed mode. |
6931
+ | CHECKOUT_POPUP_OPEN | <code>string</code> | <code>&quot;checkoutPopupOpen&quot;</code> | Event sent when Click To Pay checkout flow is started, regardless of embedded or windowed mode. |
6932
+ | CHECKOUT_POPUP_CLOSE | <code>string</code> | <code>&quot;checkoutPopupClose&quot;</code> | Event sent when Click To Pay checkout flow is closed, regardless of embedded or windowed mode. |
6934
6933
  | CHECKOUT_COMPLETED | <code>string</code> | <code>&quot;checkoutCompleted&quot;</code> | Event sent on successful checkout by customer. Check [data](#EventDataCheckoutCompletedData) for more information. |
6935
6934
  | CHECKOUT_ERROR | <code>string</code> | <code>&quot;checkoutError&quot;</code> | Event sent on error checkout by customer. Check [data](#EventData) for more information. |
6936
6935