shop.payment_providers.unzer_card

Attributes

Classes

UnzerCard

Unzer credit card payment method integration for the ViUR Shop.

Module Contents

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 | viur.shop.types.t.Callable[[], str]) – The private key to use for authentication.

  • public_key (str | viur.shop.types.t.Callable[[], str]) – The public key to use for authentication.

  • sandbox (bool | viur.shop.types.t.Callable[[], 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'

Define the internal name of the payment provider

get_payment_type(order_skel)
Parameters:

order_skel (viur.core.skeleton.SkeletonInstance)

Return type:

unzer.model.PaymentType