создаю телегу товаров
All checks were successful
Deploy / build (push) Successful in 45s

This commit is contained in:
alsaze
2025-10-05 15:54:16 +03:00
parent 4c8aebddf6
commit dd7abe1fc6
3 changed files with 17 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ export default defineEventHandler(async () => {
currency: 'RUB',
title: 'Название заказа',
description: 'Описание заказа',
hppRedirectUrl: 'https://pgtest.bspb.ru/result',
},
}
@@ -36,5 +37,5 @@ export default defineEventHandler(async () => {
},
})
return response.data
return response?.data || []
})

View File

@@ -0,0 +1,10 @@
export interface IBspb {
order: {
id: number
hppUrl: string
password: string
accessToken: string
status: string
cvv2AuthStatus: string
}
}