You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the authorizePayment method inside the PaymentServiceImpl class needs to send AUTH event to the state machine instead of AUTH_APPROVED.
sendEvent(paymentId, sm, PaymentEvent.AUTH_APPROVED) should change to sendEvent(paymentId, sm, PaymentEvent.AUTHORIZE)
Just wanted to give my feedback regarding with this.
Regards,
Ergin
The text was updated successfully, but these errors were encountered:
mesarikaya
changed the title
PaymentServiceImpl authorizePayment method should send AUTHORIZE even not AUTH_APPROVED
PaymentServiceImpl authorizePayment method should send AUTHORIZE event not AUTH_APPROVED
Feb 27, 2020
Hi John,
I think the authorizePayment method inside the PaymentServiceImpl class needs to send AUTH event to the state machine instead of AUTH_APPROVED.
sendEvent(paymentId, sm, PaymentEvent.AUTH_APPROVED) should change to sendEvent(paymentId, sm, PaymentEvent.AUTHORIZE)
Just wanted to give my feedback regarding with this.
Regards,
Ergin
The text was updated successfully, but these errors were encountered: