We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd459e0 + 80f3eae commit 37df2a7Copy full SHA for 37df2a7
src/Message/PaymentIntents/Response.php
@@ -138,7 +138,7 @@ public function isCancelled()
138
*/
139
public function isRedirect()
140
{
141
- if ($this->getStatus() === 'requires_action') {
+ if ($this->getStatus() === 'requires_action' || $this->getStatus() === 'requires_source_action') {
142
// Currently this gateway supports only manual confirmation, so any other
143
// next action types pretty much mean a failed transaction for us.
144
return (!empty($this->data['next_action']) && $this->data['next_action']['type'] === 'redirect_to_url');
0 commit comments