Skip to content

Commit 5fa0359

Browse files
authored
Merge branch 'main' into silverflow
2 parents f0fcaec + de92973 commit 5fa0359

File tree

37 files changed

+3375
-183
lines changed

37 files changed

+3375
-183
lines changed

api-reference/v1/openapi_spec_v1.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10940,6 +10940,7 @@
1094010940
"boku",
1094110941
"braintree",
1094210942
"cashtocode",
10943+
"celero",
1094310944
"chargebee",
1094410945
"checkout",
1094510946
"coinbase",
@@ -27949,6 +27950,7 @@
2794927950
"boku",
2795027951
"braintree",
2795127952
"cashtocode",
27953+
"celero",
2795227954
"chargebee",
2795327955
"checkout",
2795427956
"coinbase",

api-reference/v2/openapi_spec_v2.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8147,6 +8147,7 @@
81478147
"boku",
81488148
"braintree",
81498149
"cashtocode",
8150+
"celero",
81508151
"chargebee",
81518152
"checkout",
81528153
"coinbase",
@@ -22666,6 +22667,7 @@
2266622667
"boku",
2266722668
"braintree",
2266822669
"cashtocode",
22670+
"celero",
2266922671
"chargebee",
2267022672
"checkout",
2267122673
"coinbase",

config/config.example.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ bluesnap.secondary_base_url = "https://sandpay.bluesnap.com/"
202202
boku.base_url = "https://$-api4-stage.boku.com"
203203
braintree.base_url = "https://payments.sandbox.braintree-api.com/graphql"
204204
cashtocode.base_url = "https://cluster05.api-test.cashtocode.com"
205+
celero.base_url = "https://sandbox.gotnpgateway.com"
205206
chargebee.base_url = "https://$.chargebee.com/api/"
206207
checkbook.base_url = "https://api.sandbox.checkbook.io"
207208
checkout.base_url = "https://api.sandbox.checkout.com/"
@@ -343,6 +344,7 @@ cards = [
343344
"adyenplatform",
344345
"archipel",
345346
"authorizedotnet",
347+
"celero",
346348
"coinbase",
347349
"coingate",
348350
"cryptopay",

config/deployments/integration_test.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ bluesnap.secondary_base_url = "https://sandpay.bluesnap.com/"
4141
boku.base_url = "https://$-api4-stage.boku.com"
4242
braintree.base_url = "https://payments.sandbox.braintree-api.com/graphql"
4343
cashtocode.base_url = "https://cluster05.api-test.cashtocode.com"
44+
celero.base_url = "https://sandbox.gotnpgateway.com"
4445
chargebee.base_url = "https://$.chargebee.com/api/"
4546
checkbook.base_url = "https://api.sandbox.checkbook.io"
4647
checkout.base_url = "https://api.sandbox.checkout.com/"

config/deployments/production.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ bluesnap.secondary_base_url = "https://pay.bluesnap.com/"
4545
boku.base_url = "https://country-api4-stage.boku.com"
4646
braintree.base_url = "https://payments.braintree-api.com/graphql"
4747
cashtocode.base_url = "https://cluster14.api.cashtocode.com"
48+
celero.base_url = "https://app.gotnpgateway.com"
4849
chargebee.base_url = "https://{{merchant_endpoint_prefix}}.chargebee.com/api/"
4950
checkbook.base_url = "https://api.checkbook.io"
5051
checkout.base_url = "https://api.checkout.com/"

config/deployments/sandbox.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ bluesnap.secondary_base_url = "https://sandpay.bluesnap.com/"
4545
boku.base_url = "https://$-api4-stage.boku.com"
4646
braintree.base_url = "https://payments.sandbox.braintree-api.com/graphql"
4747
cashtocode.base_url = "https://cluster05.api-test.cashtocode.com"
48+
celero.base_url = "https://sandbox.gotnpgateway.com"
4849
checkbook.base_url = "https://api.sandbox.checkbook.io"
4950
checkout.base_url = "https://api.sandbox.checkout.com/"
5051
chargebee.base_url = "https://$.chargebee.com/api/"

config/development.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ cards = [
109109
"bluesnap",
110110
"boku",
111111
"braintree",
112+
"celero",
112113
"checkbook",
113114
"checkout",
114115
"coinbase",
@@ -239,6 +240,7 @@ bluesnap.secondary_base_url = "https://sandpay.bluesnap.com/"
239240
boku.base_url = "https://$-api4-stage.boku.com"
240241
braintree.base_url = "https://payments.sandbox.braintree-api.com/graphql"
241242
cashtocode.base_url = "https://cluster05.api-test.cashtocode.com"
243+
celero.base_url = "https://sandbox.gotnpgateway.com"
242244
chargebee.base_url = "https://$.chargebee.com/api/"
243245
checkbook.base_url = "https://api.sandbox.checkbook.io"
244246
checkout.base_url = "https://api.sandbox.checkout.com/"

config/docker_compose.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ bluesnap.secondary_base_url = "https://sandpay.bluesnap.com/"
128128
boku.base_url = "https://$-api4-stage.boku.com"
129129
braintree.base_url = "https://payments.sandbox.braintree-api.com/graphql"
130130
cashtocode.base_url = "https://cluster05.api-test.cashtocode.com"
131+
celero.base_url = "https://sandbox.gotnpgateway.com"
131132
chargebee.base_url = "https://$.chargebee.com/api/"
132133
checkbook.base_url = "https://api.sandbox.checkbook.io"
133134
checkout.base_url = "https://api.sandbox.checkout.com/"
@@ -260,6 +261,7 @@ cards = [
260261
"bluesnap",
261262
"boku",
262263
"braintree",
264+
"celero",
263265
"checkout",
264266
"checkbook",
265267
"coinbase",

crates/api_models/src/payment_methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3040,7 +3040,7 @@ pub struct PaymentMethodSessionResponse {
30403040

30413041
/// The payment method that was created using this payment method session
30423042
#[schema(value_type = Option<Vec<String>>)]
3043-
pub associated_payment_methods: Option<Vec<id_type::GlobalPaymentMethodId>>,
3043+
pub associated_payment_methods: Option<Vec<String>>,
30443044

30453045
/// The token-id created if there is tokenization_data present
30463046
#[schema(value_type = Option<String>, example = "12345_tok_01926c58bc6e77c09e809964e72af8c8")]

crates/common_enums/src/connector_enums.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ pub enum RoutableConnectors {
7474
Boku,
7575
Braintree,
7676
Cashtocode,
77+
Celero,
7778
Chargebee,
7879
// Checkbook,
7980
Checkout,
@@ -232,6 +233,7 @@ pub enum Connector {
232233
Boku,
233234
Braintree,
234235
Cashtocode,
236+
Celero,
235237
Chargebee,
236238
// Checkbook,
237239
Checkout,
@@ -417,6 +419,7 @@ impl Connector {
417419
| Self::Boku
418420
| Self::Braintree
419421
| Self::Cashtocode
422+
| Self::Celero
420423
| Self::Chargebee
421424
// | Self::Checkbook
422425
| Self::Coinbase
@@ -580,6 +583,7 @@ impl From<RoutableConnectors> for Connector {
580583
RoutableConnectors::Boku => Self::Boku,
581584
RoutableConnectors::Braintree => Self::Braintree,
582585
RoutableConnectors::Cashtocode => Self::Cashtocode,
586+
RoutableConnectors::Celero => Self::Celero,
583587
RoutableConnectors::Chargebee => Self::Chargebee,
584588
// RoutableConnectors::Checkbook => Self::Checkbook,
585589
RoutableConnectors::Checkout => Self::Checkout,
@@ -701,6 +705,7 @@ impl TryFrom<Connector> for RoutableConnectors {
701705
Connector::Boku => Ok(Self::Boku),
702706
Connector::Braintree => Ok(Self::Braintree),
703707
Connector::Cashtocode => Ok(Self::Cashtocode),
708+
Connector::Celero => Ok(Self::Celero),
704709
Connector::Chargebee => Ok(Self::Chargebee),
705710
// Connector::Checkbook => Ok(Self::Checkbook),
706711
Connector::Checkout => Ok(Self::Checkout),

0 commit comments

Comments
 (0)