i have describe this in my post #3 .
the resume of the problem .
validate function = transaction are stored in database , no response to the view , it return no data to the (received view ).
success function = transaction not stored in database , it send the response to the view (received view )
Solution .
return_url (received view ) should also store transaction response in database .
is really strange why blesta is not implemented this .
a sample case to reflex with it , let say paypal gateway. when the client make the payment with paypal gateway and is something prevent the payment from be accepted , the client will not know it immediately , as blesta will always show just a processing message . and not handling the response status is success or declined . all the other software specially e-commerce is doing this by native .
blesta should accept that
- Not all the gateway has a notification system .
- The client should see the result of the transaction he made in the blesta system also .
- We should provide to the client a transaction id to store it for later use ( claims , late in processing order ...ect ) when the payment has been done (no matter for the status is it) . smething like what activa suggest in post #6 .
the only solution for all this case is to make the processReceived() work as processNotification() .