Skip to content

Conversation

@begedin
Copy link
Contributor

@begedin begedin commented Nov 29, 2016

What's in this PR?

This PR handles the customer.source.updated platform webhook.
In a single transaction, it fetches the platform card info from stripe via ID, updates the platform card record locally, then finds and updates associated connect cards, API only. It should technically update locally to, but we do not store any updatable fields for connect cards locally, so there is nothing to update.

References

Fixes #476

@joshsmith joshsmith modified the milestone: Donations Nov 30, 2016
@joshsmith joshsmith modified the milestones: Donations, Improve Donations Nov 30, 2016
@begedin begedin force-pushed the 475-handle-customer-source-updated branch 5 times, most recently from db7b22c to d172fc9 Compare December 6, 2016 13:33
@begedin
Copy link
Contributor Author

begedin commented Dec 6, 2016

This is good to review.

@begedin begedin changed the title Propagate platform card updates to connect card Handle customer.source.updated, propagate platform card updates to connect card Dec 6, 2016
@begedin begedin changed the title Handle customer.source.updated, propagate platform card updates to connect card Handle customer.source.updated, propagate platform card updates to connect card Dec 6, 2016
@joshsmith joshsmith force-pushed the 475-handle-customer-source-updated branch from d172fc9 to de690f9 Compare December 6, 2016 22:51
@joshsmith joshsmith merged commit b2312c7 into develop Dec 6, 2016
@joshsmith joshsmith deleted the 475-handle-customer-source-updated branch December 6, 2016 23:03
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.

3 participants