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

Support for shipping address, dynamic quantity #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dxdc
Copy link

@dxdc dxdc commented Oct 4, 2020

  • Add shipping-countries parameter. shipping-countries should be a comma-delimited list of allowed countries. This will enable a ship-to address on the checkout page.

An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI.

  • Add qty parameter, which allows a quantity > 1. Also, this can be updated dynamically by the user, e.g.
$('button.stripe').attr('data-qty', 14); // this would update qty to 14

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

Successfully merging this pull request may close these issues.

1 participant