paygw_paypal/gateways_modal

Description:
  • This module is responsible for PayPal content in the gateways modal.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

This module is responsible for PayPal content in the gateways modal.

Members

(static, constant) process

Description:
  • Process the payment.

Source:

Process the payment.

Methods

(async, inner) showModalWithPlaceholder() → {Promise.<Modal>}

Description:
  • Creates and shows a modal that contains a placeholder.

Source:
Returns:
Type
Promise.<Modal>

(inner) switchSdk(clientId, currency) → {Promise}

Description:
  • Unloads the previously loaded PayPal JavaScript SDK, and loads a new one.

Source:
Parameters:
Name Type Description
clientId string

PayPal client ID

currency string

The currency

Returns:
Type
Promise