Skip to content

Commit 4f5a383

Browse files
chore: [GOCARDLESS] env changes for becs and sepa mandates (#2535)
1 parent 6e89e41 commit 4f5a383

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

config/config.example.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ card.credit = {connector_list = "stripe,adyen"} # Mandate supported payment
350350
wallet.paypal = {connector_list = "adyen"} # Mandate supported payment method type and connector for wallets
351351
pay_later.klarna = {connector_list = "adyen"} # Mandate supported payment method type and connector for pay_later
352352
bank_debit.ach = { connector_list = "gocardless"} # Mandate supported payment method type and connector for bank_debit
353+
bank_debit.becs = { connector_list = "gocardless"} # Mandate supported payment method type and connector for bank_debit
354+
bank_debit.sepa = { connector_list = "gocardless"} # Mandate supported payment method type and connector for bank_debit
353355

354356
# Required fields info used while listing the payment_method_data
355357
[required_fields.pay_later] # payment_method = "pay_later"

config/development.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ wallet.paypal = { connector_list = "adyen" }
419419
card.credit = { connector_list = "stripe,adyen,authorizedotnet,globalpay,worldpay,multisafepay,nmi,nexinets,noon" }
420420
card.debit = { connector_list = "stripe,adyen,authorizedotnet,globalpay,worldpay,multisafepay,nmi,nexinets,noon" }
421421
bank_debit.ach = { connector_list = "gocardless"}
422+
bank_debit.becs = { connector_list = "gocardless"}
423+
bank_debit.sepa = { connector_list = "gocardless"}
422424

423425
[connector_request_reference_id_config]
424426
merchant_ids_send_payment_id_as_connector_request_id = []

config/docker_compose.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ wallet.paypal = {connector_list = "adyen"}
297297
card.credit = {connector_list = "stripe,adyen,authorizedotnet,globalpay,worldpay,multisafepay,nmi,nexinets,noon"}
298298
card.debit = {connector_list = "stripe,adyen,authorizedotnet,globalpay,worldpay,multisafepay,nmi,nexinets,noon"}
299299
bank_debit.ach = { connector_list = "gocardless"}
300+
bank_debit.becs = { connector_list = "gocardless"}
301+
bank_debit.sepa = { connector_list = "gocardless"}
300302

301303
[connector_customer]
302304
connector_list = "gocardless,stax,stripe"

crates/router/src/connector/gocardless/transformers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ impl<F>
582582
mandate_reference,
583583
network_txn_id: None,
584584
}),
585-
status: enums::AttemptStatus::Pending,
585+
status: enums::AttemptStatus::Charged,
586586
..item.data
587587
})
588588
}

loadtest/config/development.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,3 +228,5 @@ wallet.paypal = {connector_list = "adyen"}
228228
card.credit = {connector_list = "stripe,adyen,authorizedotnet,globalpay,worldpay,multisafepay,nmi,nexinets,noon"}
229229
card.debit = {connector_list = "stripe,adyen,authorizedotnet,globalpay,worldpay,multisafepay,nmi,nexinets,noon"}
230230
bank_debit.ach = { connector_list = "gocardless"}
231+
bank_debit.becs = { connector_list = "gocardless"}
232+
bank_debit.sepa = { connector_list = "gocardless"}

0 commit comments

Comments
 (0)