Compare commits
2 Commits
e55e7aa66f
...
1b118cc2cf
Author | SHA1 | Date | |
---|---|---|---|
1b118cc2cf | |||
dacd98b510 |
@ -86,7 +86,9 @@ class NotificationPayload
|
||||
}
|
||||
$instance->latestExpiredReceipt = $request->input('unified_receipt.latest_expired_receipt');
|
||||
if ($request->has('unified_receipt.latest_expired_receipt_info')) {
|
||||
$instance->latestExpiredReceiptInfo = Receipt::createFromArray($request->input('unified_receipt.latest_expired_receipt_info'));
|
||||
if (count($request->input('unified_receipt.latest_expired_receipt_info')) > 0) {
|
||||
$instance->latestExpiredReceiptInfo = Receipt::createFromArray($request->input('unified_receipt.latest_expired_receipt_info')[0]);
|
||||
}
|
||||
} else {
|
||||
$instance->latestExpiredReceiptInfo = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user