Skip to content

Commit 7ffbeb2

Browse files
add isTransparentRedirect function
transparent redirects involve POSTing a form directly to the credit card processor containing the credit card fields adding this fn to the AbstractResponse means that gateways can be tested to see if they follow that pattern
1 parent e8cdb1b commit 7ffbeb2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Omnipay/Common/Message/AbstractResponse.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ public function isRedirect()
3030
return false;
3131
}
3232

33+
public function isTransparentRedirect()
34+
{
35+
return false;
36+
}
37+
3338
public function getData()
3439
{
3540
return $this->data;

0 commit comments

Comments
 (0)