Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Remove Transaction#phone validation #140

Merged
merged 1 commit into from
Dec 5, 2017

Conversation

alepore
Copy link
Contributor

@alepore alepore commented Dec 4, 2017

There are situations where we may have addresses without a phone number, so i think this validation should not be enforced here.
This was introduced in #16.

Examples:

  • When using the Paypal express button from the cart we receive an address without the phone field from Paypal.
    (If there's an optional setting to enable the phone number on the Paypal side i haven't found it).
  • On Solidus the Address#phone validation can be switched off.

There are situations, on Solidus or on Paypal, where we may have addresses
without a phone number
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tvdeyen tvdeyen merged commit 65383fd into solidusio:master Dec 5, 2017
alepore pushed a commit to StemboltEU/solidus_paypal_braintree that referenced this pull request Dec 14, 2017
@alepore alepore deleted the remove_phone_validation branch March 21, 2018 16:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants