File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -599,15 +599,19 @@ The `$nextUrl` is where you want Sage Pay to send the user to next.
599599It will often be the same URL whether the transaction was approved or not,
600600since the result will be safely saved in the database.
601601
602- The ` confirm() ` , ` error() ` and ` reject() ` methods will all exit the
602+ The ` confirm() ` , ` error() ` and ` reject() ` methods will all echo the expected
603+ return payload and expect your application to rerturn a HTTP Status ` 200 `
604+ without adding any further content.
605+
606+ These functions used to exit the
603607application immediately to prevent additional output being added to
604- the response. You can disable this by setting the ` exitOnResponse `
608+ the response. You can restore this functionality by setting the ` exitOnResponse `
605609option:
606610
607611``` php
608- $gateway->setExitOnResponse(false );
612+ $gateway->setExitOnResponse(true );
609613// or
610- $notifyRequest->setExitOnResponse(false );
614+ $notifyRequest->setExitOnResponse(true );
611615```
612616
613617If you just want the body payload, this method will return it without
You can’t perform that action at this time.
0 commit comments