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.
1 parent 77ca24f commit 405bbedCopy full SHA for 405bbed
src/Messages/PurchaseResponse.php
@@ -48,7 +48,8 @@ public function getRedirectData()
48
49
public function getRedirectUrl()
50
{
51
- // TODO: Change this if in production mode!
52
- return 'https://igw-demo.every-pay.com/transactions/';
+ return $this->request->getTestMode()
+ ? 'https://igw-demo.every-pay.com/transactions/'
53
+ : 'https://pay.every-pay.eu/transactions/';
54
}
55
0 commit comments