File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Paypal/Controller/Express Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,10 @@ public function __construct(
114
114
public function execute (): ResultInterface
115
115
{
116
116
$ controllerResult = $ this ->resultFactory ->create (ResultFactory::TYPE_JSON );
117
- $ quoteId = $ this ->getRequest ()->getParam ('quoteId ' );
117
+ $ quoteId = ( int ) $ this ->getRequest ()->getParam ('quoteId ' );
118
118
$ payerId = $ this ->getRequest ()->getParam ('payerId ' );
119
119
$ tokenId = $ this ->getRequest ()->getParam ('paymentToken ' );
120
- $ customerId = $ this ->getRequest ()->getParam ('customerId ' ) ?: $ this ->_customerSession ->getId ();
120
+ $ customerId = ( int ) $ this ->getRequest ()->getParam ('customerId ' ) ?: $ this ->_customerSession ->getId ();
121
121
122
122
try {
123
123
if ($ quoteId ) {
You can’t perform that action at this time.
0 commit comments