Skip to content

Commit 5f16e49

Browse files
Self-identify RapidResponse class as transparent redirect.
The interface allows for calling functions to check whether the gateway is transparentRedirect. We should respect that here
1 parent 4801534 commit 5f16e49

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Message/RapidResponse.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ public function getRedirectData()
3939
}
4040
}
4141

42+
/**
43+
* Is the response a transparent redirect?
44+
*
45+
* @return boolean
46+
*/
47+
public function isTransparentRedirect()
48+
{
49+
return true;
50+
}
51+
4252
/**
4353
* Get a card reference (eWAY Token), for createCard requests.
4454
*

0 commit comments

Comments
 (0)