shop.payment_providers.unzer_card

Module Contents

Classes

UnzerCard

Unzer credit card payment method integration for the ViUR Shop.

Attributes

shop.payment_providers.unzer_card.logger
class shop.payment_providers.unzer_card.UnzerCard(*, private_key, public_key, sandbox=False, language=None, **kwargs)

Bases: shop.payment_providers.unzer_abstract.UnzerAbstract

Unzer credit card payment method integration for the ViUR Shop.

Enables customers to pay using credit cards through the Unzer payment gateway.

Create a new Unzer payment provider.

Parameters:
  • private_key (str) – The private key to use for authentication.

  • public_key (str) – The public key to use for authentication.

  • sandbox (bool) – Use sandbox mode (development mode).

  • language (str | None) – Enforce this language. If None, the language of the current request is used.

  • kwargs (viur.shop.types.t.Any)

name: Final[str] = 'unzer-card'
get_payment_type(order_skel)
Parameters:

order_skel (viur.core.skeleton.SkeletonInstance)

Return type:

unzer.model.PaymentType