fix(payment): expose provider type for named gateways

This commit is contained in:
Clintchiz committed 2026-08-28 10:02:42 +05:30
1 parent 2e770f7e3e
commit 1b470402c7
5 files changed
+8 -1

No files matched your search

+1
View File
@@ -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,
})),