Skip to content

Commit

Permalink
Fix driver name used for creating SnappPay Receipt (#254)
Browse files Browse the repository at this point in the history
Co-authored-by: Amir Ziapour <amir.ziapour@shab.ir>
  • Loading branch information
amirzpr and Amir Ziapour authored Aug 11, 2024
1 parent 37e6c19 commit 6452bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/SnappPay/SnappPay.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function verify(): ReceiptInterface
throw new PurchaseFailedException($message);
}

return (new Receipt('digipay', $body['response']['transactionId']))->detail($body['response']);
return (new Receipt('snapppay', $body['response']['transactionId']))->detail($body['response']);
}

/**
Expand Down

0 comments on commit 6452bb6

Please sign in to comment.