File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
view/frontend/web/js/view Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 4
4
* Copyright 2024 Adobe
5
5
* All Rights Reserved.
6
6
*
7
- * NOTICE: All information contained herein is, and remains
8
- * the property of Adobe and its suppliers, if any. The intellectual
9
- * and technical concepts contained herein are proprietary to Adobe
10
- * and its suppliers and are protected by all applicable intellectual
11
- * property laws, including trade secret and copyright laws.
12
- * Dissemination of this information or reproduction of this material
13
- * is strictly forbidden unless prior written permission is obtained
14
- * from Adobe.
15
7
* ************************************************************************
16
8
*/
17
9
declare (strict_types=1 );
@@ -52,6 +44,9 @@ public function getSectionData()
52
44
$ country = $ address ->getCountryId ();
53
45
}
54
46
} catch (NoSuchEntityException $ e ) {
47
+ return [
48
+ 'code ' => null
49
+ ];
55
50
}
56
51
57
52
return [
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ define([
48
48
*/
49
49
initialize : function ( ) {
50
50
let buyerCountry = customerData . get ( 'paypal-buyer-country' ) ;
51
+
51
52
this . buyerCountry = buyerCountry ( ) . code ;
52
53
53
54
if ( ! this . buyerCountry ) {
You can’t perform that action at this time.
0 commit comments