afterPaymentBehaviour property
this will controls what happen after payment done
AfterPaymentBehaviour.None the default value , nothing will happen
AfterPaymentBehaviour.AfterCallbackExecution will pop after payment done and error or success callbacks finish
AfterPaymentBehaviour.BeforeCallbackExecution will pop after payment done and before error or success callbacks start
Implementation
final AfterPaymentBehaviour afterPaymentBehaviour;