Skip to content

SKU should not be used as product_code for Braintree! #268

@mrbrdo

Description

@mrbrdo

You are using Spree::Product SKU for product_code (productCode) with Braintree, but this is not correct, because Braintree has a limit at 12 characters, while Spree does not.
Ordering a product with a SKU longer than 12 characters will fail. I don't know if it's even necessary to send the productCode to Braintree or why you are doing that anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions