spz-paypal

Displays a PayPal button.
<spz-paypal
  layout="fixed-height"
  height="52"
  id="paypal-express-button-container"
  variant="#product-info-variants"
  quantity="#product-info-quantity"
  product-id="xxxxxx"
  variant-id="xxxxxx"
  paypal-js=""
></spz-paypal>

required

A string of the DOM ID. The id defines an identifier (ID) which must be unique in the whole document.

required

A URL of the PayPal resource.

required

A string of the spz-variant ID. For example #product-info-variant.

required

A string of the spz-quantity ID. For example #product-info-quantity.

A string of the product id. Used to generate default source data.

A string of the variant id. Specifies the currently selected variant id. Used to generate default source data.

Specifies the text of the tip pop-up for variant unselect.

Specifies the text of the tip pop-up for product sold out.

Specifies the text of the tip pop-up for product unavailable.

本页目录