fix(payment): expose provider type for named gateways
This commit is contained in:
1 parent
2e770f7e3e
commit
1b470402c7
5 files changed
+8
-1
No files matched your search
@@ -419,6 +419,7 @@ export function definePayment(options: PaymentOptions) {
|
||||
providers: () =>
|
||||
[...adapters.values()].map((adapter) => ({
|
||||
id: adapter.id,
|
||||
provider: adapter.provider ?? adapter.id,
|
||||
capabilities: adapter.capabilities,
|
||||
supports: adapter.supports,
|
||||
})),
|
||||
|
||||
Reference in new issue
Block a user