Skip to content

Chapter 8 - Braintree Token Generation #94

Description

@Yvson

Maybe it is necessary to pass the merchant_account_id as an argument to the generate function on line 41 of 'myshop/payment/views.py'.

Replace

client_token = gateway.client_token.generate()

by

client_token = gateway.client_token.generate(params={'merchant_account_id': settings.BRAINTREE_MERCHANT_ID})

Braintree Doc: https://developer.paypal.com/braintree/docs/reference/request/client-token/generate/python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions