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

Implement supporter name split #10

Open
octopusinvitro opened this issue Oct 10, 2017 · 0 comments
Open

Implement supporter name split #10

octopusinvitro opened this issue Oct 10, 2017 · 0 comments

Comments

@octopusinvitro
Copy link
Contributor

octopusinvitro commented Oct 10, 2017

See our contributing guides.

The field LastName is marked as a required field in our Salesforce setup upstream. We didn't want to implement all at once so we are passing the full name for now until we implement this feature.

The task consists of splitting the name received from the request in data.name and saving it in the relevant fields in the Salesforce supporter table. These are the relevant fields defined there:

FIELD NAME | FIELD LABEL
-------------------------
LastName   | Last Name
FirstName  | First Name
Name       | Full Name

A good place to start is where the fields to be passed to the supporter table are generated.

We don't have to maintain this name-split logic, there are people out there who have solved this problem already, for example namae, whose README I found impressive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant