Esempio n. 1
0
def gateway_config():
    return GatewayConfig(
        gateway_name="dummy",
        auto_capture=True,
        template_path="template.html",
        connection_params={"secret-key": "nobodylikesspanishinqusition"},
    )
Esempio 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,
        },
    )
Esempio 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",
        },
    )
Esempio 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",
        },
    )
Esempio 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",
        },
    )
Esempio 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",
        },
    )
Esempio 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,
        },
    )
Esempio 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,
        },
    )
Esempio n. 9
0
def gateway_config():
    return GatewayConfig(
        gateway_name="Dummy",
        auto_capture=True,
        connection_params={"secret-key": "nobodylikesspanishinqusition"},
    )