๐Ÿ†˜Helpers

Generate Callback Response

<?php
...
use Otnansirk\Dana\Facades\DANAPay;
...

$status = true;
return DANAPay::responseFinishNotifyCallback($status);

This function will generate valid response for DANA API. $status is boolean data type.

true for success and false for error response

Last updated