File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ public function getData()
2323
2424 unset($ data ['x_show_form ' ]);
2525
26+ // Must be set for DPM.
27+ // This directs all errors to the relay response.
28+
29+ $ data ['x_relay_always ' ] = 'TRUE ' ;
30+
2631 // The card details are optional.
2732 // They will most likely only be used for development and testing.
2833 // The card fields are still needed in the direct-post form regardless.
Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ public function testCompleteAuthorizeWrongAmount()
7676 );
7777
7878 $ response = $ this ->gateway ->completeAuthorize ($ this ->options )->send ();
79- //$this->assertTrue($response->isSuccessful());
80- //$this->assertSame('12345', $response->getTransactionReference());
81- //$this->assertNull($response->getMessage());
8279 }
8380
8481 public function testPurchase ()
You can’t perform that action at this time.
0 commit comments