Skip to content

Commit

Permalink
Always add off_session parameter to request
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeoscom committed May 1, 2020
1 parent 4e7fe74 commit a9c9399
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Message/PaymentIntents/AuthorizeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,7 @@ public function getData()
$data['setup_future_usage'] = $this->getSetupFutureUsage();
}

if ($this->getOffSession()) {
$data['off_session'] = $this->getOffSession() ? 'true' : 'false';
}
$data['off_session'] = $this->getOffSession() ? 'true' : 'false';

$data['confirmation_method'] = 'manual';
$data['capture_method'] = 'manual';
Expand Down

0 comments on commit a9c9399

Please sign in to comment.