Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MetaData to include subproIsRecurringOrder in Basket object #80

Open
chrismshea opened this issue Feb 23, 2024 · 0 comments
Open
Assignees

Comments

@chrismshea
Copy link
Contributor

chrismshea commented Feb 23, 2024

Fixed in PR #82

Issue

When recurring orders are placed the c_subproIsRecurringOrder field is sent as true, but it is not being stored on the basket.
This causes issues because the order if successful does not include the flag indicating it as a recurring order, and additionally the flag cannot be used to identify it as a subscription order when applying promotions or special handling for Subscription orders.

Resolution

Include the below attribute definition in the Basket object in the metadata site_import.

            <attribute-definition attribute-id="subproIsRecurringOrder">
                <display-name xml:lang="x-default">Subpro Is Recurring Order</display-name>
                <type>boolean</type>
                <localizable-flag>false</localizable-flag>
                <mandatory-flag>false</mandatory-flag>
                <externally-managed-flag>false</externally-managed-flag>
            </attribute-definition>
@chrismshea chrismshea self-assigned this Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant