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

Exclude Name from Billing + Shipping Addresses #193

Merged
merged 5 commits into from
Sep 23, 2024

Conversation

n7studios
Copy link
Contributor

Summary

Adds an option to exclude the name from the billing and shipping address when stored as custom fields in ConvertKit, as requested here.

Screenshot 2024-09-17 at 11 11 58

Testing

Added the following tests to confirm the name is excluded from the address custom field when this setting is enabled:

  • testSendPurchaseDataWithCustomFieldsAndExcludeNameFromAddressOnSimpleProductCheckout
  • testOptInWhenCheckedWithFormCustomFieldsAndExcludeNameFromAddressOnSimpleProduct
  • testOptInWhenCheckedWithFormCustomFieldsAndExcludeNameFromAddressOnSimpleProduct
  • testOptInWhenCheckedWithFormCustomFieldsAndExcludeNameFromAddressOnSimpleProduct
  • testOptInWhenCheckedWithFormCustomFieldsAndExcludeNameFromAddressOnSimpleProduct

Checklist

@n7studios n7studios self-assigned this Sep 17, 2024
@n7studios n7studios changed the base branch from main to tests-fix-wc-log-folder September 19, 2024 05:53
@n7studios n7studios requested review from a team, noelherrick and jenessawhite and removed request for a team September 19, 2024 05:54
@n7studios n7studios marked this pull request as ready for review September 19, 2024 05:54
includes/class-ckwc-integration.php Outdated Show resolved Hide resolved
@n7studios n7studios changed the base branch from tests-fix-wc-log-folder to main September 20, 2024 01:20
@n7studios n7studios merged commit e29c318 into main Sep 23, 2024
37 checks passed
@n7studios n7studios deleted the exclude-name-from-address branch October 4, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants