Ejemplo n.º 1
0
def gateway_config():
    return GatewayConfig(
        gateway_name="dummy",
        auto_capture=True,
        template_path="template.html",
        connection_params={"secret-key": "nobodylikesspanishinqusition"},
    )
Ejemplo n.º 2
0
def gateway_config():
    return GatewayConfig(
        gateway_name="paypal",
        auto_capture=True,
        connection_params={
            "client_id": "public",
            "private_key": "secret",
            "sandbox_mode": True,
        },
    )
Ejemplo n.º 3
0
def gateway_config():
    return GatewayConfig(
        template_path="template.html",
        auto_capture=False,
        connection_params={
            "sandbox_mode": False,
            "merchant_id": "123",
            "public_key": "456",
            "private_key": "789",
        },
    )
Ejemplo n.º 4
0
def gateway_config():
    return GatewayConfig(
        gateway_name="razorpay",
        auto_capture=False,
        connection_params={
            "public_key": "public",
            "private_key": "secret",
            "prefill": True,
            "store_name": "Saleor",
            "store_image": "image.png",
        },
    )
Ejemplo n.º 5
0
def gateway_config():
    return GatewayConfig(
        auto_capture=False,
        template_path="template.html",
        connection_params={
            "public_key": "public",
            "secret_key": "secret",
            "prefill": True,
            "store_name": "Saleor",
            "store_image": "image.png",
        },
    )
Ejemplo n.º 6
0
def gateway_config():
    return GatewayConfig(
        gateway_name="braintree",
        auto_capture=False,
        store_customer=False,
        connection_params={
            "sandbox_mode": False,
            "merchant_id": "123",
            "public_key": "456",
            "private_key": "789",
        },
    )
Ejemplo n.º 7
0
def gateway_config():
    return GatewayConfig(
        gateway_name="stripe",
        auto_capture=True,
        connection_params={
            "public_key": "public",
            "private_key": "secret",
            "store_name": "Saleor",
            "store_image": "image.gif",
            "prefill": True,
            "remember_me": True,
            "locale": "auto",
            "enable_billing_address": False,
            "enable_shipping_address": False,
        },
    )
Ejemplo n.º 8
0
def gateway_config():
    return GatewayConfig(
        auto_capture=False,
        template_path="template.html",
        connection_params={
            "public_key": "public",
            "secret_key": "secret",
            "store_name": "Saleor",
            "store_image": "image.gif",
            "prefill": True,
            "remember_me": True,
            "locale": "auto",
            "enable_billing_address": False,
            "enable_shipping_address": False,
        },
    )
Ejemplo n.º 9
0
def gateway_config():
    return GatewayConfig(
        gateway_name="Dummy",
        auto_capture=True,
        connection_params={"secret-key": "nobodylikesspanishinqusition"},
    )