This is FPX simulator, all payments will return different status as below:-
FPX Business-to-Consumer (B2C) Payment
| Bank Name |
Response Code |
| Test Bank A |
00 - success |
| Test Bank B |
51 - insufficient funds |
| Test Bank C |
07 - pending |
| Test Bank D |
57 - transaction not permitted |
| Test Bank E |
80 - cancel transaction |
FPX Business-to-Business (B2B) Payment
All
B2B payments will return status
99 - pending authorization for B2B by default
| Bank Name |
Response Code |
| SBI Bank A |
99 - pending authorization for B2B |
| SBI Bank B |
99 - pending authorization for B2B |
| SBI Bank C |
07 - pending for B2B |
Step to approve B2B payment:-
- SSH to FPX Simulator server
- execute command
php artisan fpx:txn_approve {transaction_id} {code ?}