File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ private function generatePaypalSdkUrl(string $page): string
131
131
'merchant-id ' => $ this ->config ->getValue ('merchant_id ' ),
132
132
'locale ' => $ this ->localeResolver ->getLocale (),
133
133
'intent ' => $ this ->getIntent (),
134
- 'currency ' => $ this ->storeManager ->getStore ()->getCurrentCurrencyCode (),
134
+ 'currency ' => $ this ->storeManager ->getStore ()->getBaseCurrencyCode (),
135
135
];
136
136
if ($ disallowedFunding ) {
137
137
$ params ['disable-funding ' ] = $ disallowedFunding ;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ protected function setUp(): void
61
61
62
62
/** @var Store|MockObject $storeMock */
63
63
$ storeMock = $ this ->createMock (Store::class);
64
- $ storeMock ->method ('getCurrentCurrencyCode ' )
64
+ $ storeMock ->method ('getBaseCurrencyCode ' )
65
65
->willReturn ('USD ' );
66
66
67
67
/** @var StoreManagerInterface|MockObject $storeManagerMock */
You can’t perform that action at this time.
0 commit comments