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(connector): [Square] Implement Card Payments for Square #1902

Merged
merged 33 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
a7fec9f
feat(connector): [SQUARE] Add Authorize flow for cards
deepanshu-iiitu Aug 4, 2023
6c675f7
feat(connector): [SQUARE] Add Capture, Void, Refund, PSync and RSync …
deepanshu-iiitu Aug 7, 2023
aeadd84
fix(connector): [SQUARE] Remove dead code
deepanshu-iiitu Aug 7, 2023
1b52acc
feat(connector): [SQUARE] Add session flow
deepanshu-iiitu Aug 8, 2023
a044ab3
feat(connector): [SQUARE] Add unit tests
deepanshu-iiitu Aug 8, 2023
aef5f3d
chore: [SQUARE] Fix formatting and Address Lints
deepanshu-iiitu Aug 9, 2023
934c33c
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 9, 2023
9b0a59c
chore: [SQUARE] Address Lint Errors
deepanshu-iiitu Aug 9, 2023
3f37aeb
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 9, 2023
2df1627
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 10, 2023
7ccc6a5
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 10, 2023
29272f0
chore: [SQUARE] Fix formatting
deepanshu-iiitu Aug 10, 2023
ab7d400
fix(connector): [SQUARE] Resolve PR comments
deepanshu-iiitu Aug 23, 2023
c7701ad
fix(connector):[SQUARE] Resolve PR Comments
deepanshu-iiitu Aug 23, 2023
bf79ddd
fix(connector): [SQUARE] Resolve PR Comments
deepanshu-iiitu Aug 23, 2023
d2ba34d
feat(connector): [SQUARE] Resolve PR Comments
deepanshu-iiitu Aug 23, 2023
d9c6ba1
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 23, 2023
6cb7687
feat(connector): [SQUARE] Resolve PR Comments
deepanshu-iiitu Aug 24, 2023
515e3c9
chore: [SQUARE] Generate open api spec
deepanshu-iiitu Aug 24, 2023
cd7423e
feat(connector): [SQUARE] Resolve PR Comments
deepanshu-iiitu Aug 28, 2023
1ea6ed4
feat(connector): [SQUARE] Resolve PR comments
deepanshu-iiitu Aug 28, 2023
558bbc7
chore: Merge branch main to implement-cards-square
deepanshu-iiitu Aug 28, 2023
e7b32f3
feat(connector): [SQUARE] Resolve PR comments
deepanshu-iiitu Aug 28, 2023
3339eab
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 29, 2023
dfd404a
chore: Undo changes to changelog
deepanshu-iiitu Aug 29, 2023
6398f8c
feat(connector): [SQUARE] Remove hard-coded error
deepanshu-iiitu Aug 29, 2023
028d91d
feat(connector): [SQUARE] Resolve PR Comments
deepanshu-iiitu Aug 29, 2023
83b925c
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 29, 2023
b4e6103
chore: [SQUARE] Formatting
deepanshu-iiitu Aug 29, 2023
ca94d95
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 29, 2023
482a702
feat(connector): [SQUARE} Fix PR Comments
deepanshu-iiitu Aug 30, 2023
878dfb3
fix(connector): [SQUARE] Fix PR Review Comments
deepanshu-iiitu Aug 31, 2023
615d4ab
Merge branch 'main' into implement-cards-square
deepanshu-iiitu Aug 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ stripe = { long_lived_token = false, payment_method = "wallet", payment_method_t
checkout = { long_lived_token = false, payment_method = "wallet" }
mollie = {long_lived_token = false, payment_method = "card"}
stax = { long_lived_token = true, payment_method = "card,bank_debit" }
square = {long_lived_token = false, payment_method = "card"}

[dummy_connector]
payment_ttl = 172800 # Time to live for dummy connector payment in redis
Expand Down
1 change: 1 addition & 0 deletions config/development.toml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ stripe = { long_lived_token = false, payment_method = "wallet", payment_method_t
checkout = { long_lived_token = false, payment_method = "wallet" }
stax = { long_lived_token = true, payment_method = "card,bank_debit" }
mollie = {long_lived_token = false, payment_method = "card"}
square = {long_lived_token = false, payment_method = "card"}

[connector_customer]
connector_list = "bluesnap,stax,stripe"
Expand Down
1 change: 1 addition & 0 deletions config/docker_compose.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ stripe = { long_lived_token = false, payment_method = "wallet", payment_method_t
checkout = { long_lived_token = false, payment_method = "wallet" }
mollie = {long_lived_token = false, payment_method = "card"}
stax = { long_lived_token = true, payment_method = "card,bank_debit" }
square = {long_lived_token = false, payment_method = "card"}

[dummy_connector]
payment_ttl = 172800
Expand Down
4 changes: 2 additions & 2 deletions crates/api_models/src/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub enum Connector {
Powertranz,
Rapyd,
Shift4,
// Square, added as template code for future usage,
Square,
Stax,
Stripe,
Trustpay,
Expand Down Expand Up @@ -221,7 +221,7 @@ pub enum RoutableConnectors {
Powertranz,
Rapyd,
Shift4,
//Square, added as template code for future usage
Square,
Stax,
Stripe,
Trustpay,
Expand Down
Loading
Loading