From ae7dcf2a3433a4a2a47cde9a7d43957f0a5cd6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Thu, 19 Mar 2026 19:18:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[barobill]=20=EC=B9=B4=EB=93=9C=20?= =?UTF-8?q?=EB=8F=99=EA=B8=B0=ED=99=94=20SOAP=20=EC=9D=91=EB=8B=B5=20?= =?UTF-8?q?=ED=8C=8C=EC=8B=B1=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - GetCardEx2 응답 구조: CardInfo → CardEx로 수정 --- app/Services/Barobill/BarobillCardSyncService.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Services/Barobill/BarobillCardSyncService.php b/app/Services/Barobill/BarobillCardSyncService.php index 928569d0..5b11a396 100644 --- a/app/Services/Barobill/BarobillCardSyncService.php +++ b/app/Services/Barobill/BarobillCardSyncService.php @@ -195,8 +195,9 @@ private function getRegisteredCards(string $userId): array $data = $result['data']; $cardList = []; - if (isset($data->CardInfo)) { - $cardList = is_array($data->CardInfo) ? $data->CardInfo : [$data->CardInfo]; + // GetCardEx2는 CardEx 배열을 반환 + if (isset($data->CardEx)) { + $cardList = is_array($data->CardEx) ? $data->CardEx : [$data->CardEx]; } $cards = [];