setupWithManualExecute abstract method
Future<String>
setupWithManualExecute(
- String sessionId,
- MFGooglePayRequest googlePayRequest, {
- dynamic onSessionUpdated(
- String sessionId
- dynamic onError()?,
Setup Google Pay with Manual execution mode using MFGooglePayLauncher
This mode gets the Google Pay token first, then you manually execute the payment. Use this when you need full control over the payment flow.
Callbacks:
onSessionUpdated: Called when session is updated with the Google Pay tokenonError: Called if an error occurs during token generation
Returns the updated session ID after setup completes
Implementation
Future<String> setupWithManualExecute(
String sessionId, MFGooglePayRequest googlePayRequest,
{Function(String sessionId)? onSessionUpdated,
Function(MFError)? onError});