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

feat (gocardless): gocardless integration #600

Merged
merged 18 commits into from
Nov 17, 2022

Conversation

lovrocolic
Copy link
Collaborator

@lovrocolic lovrocolic commented Nov 15, 2022

Context

Add GoCardless Integration

Description

This is the feature branch for GoCardless integration. Main changes:

  • Add possibility to create customers in GCL
  • Create authorisation link that is sent in webhook in order to collect end-user payment details
  • Trigger payment in GCL
  • Listen to GCL webhooks and update invoice status accordingly

Previously reviewed PRS that are inside:
#595
#576
#575
#570
#568
#564
#557

This PR is already in main: #541

lovrocolic and others added 17 commits October 24, 2022 11:45
* handle gocardless customers

* fix style offences

* fix rubocop issue

* add few small updates

* fix pronto issues

* fix regression issue

* update app/services/customers/create_service.rb

Co-authored-by: Vincent Pochet <[email protected]>

* fix few PR comments

Co-authored-by: Vincent Pochet <[email protected]>
* add source in current context

* fix specs
)

* generate checkout url with billing request flow

* fix pronto issues

* apply few fixes

* fix pronto issues
* fetch mandate before payment

* fix style issue

* fect (gocardless): handle incoming webhooks (#576)

* handle incoming webhooks

* add webhooks specs

* fix style issue
# Conflicts:
#	app/serializers/v1/customer_serializer.rb
* fix calling invoice without instance var

* apply few improvements

* fix pronto issue
@lovrocolic lovrocolic merged commit 469f521 into main Nov 17, 2022
@lovrocolic lovrocolic deleted the feature/gocardless-integration branch November 17, 2022 13:43
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.

None yet

2 participants