processPayment abstract method
Processes a payment by opening the provided checkout URL in a webview.
The implementation should:
- Open the checkout URL in a platform-appropriate webview
- Handle Paystack's callback mechanisms (redirects, postMessage, etc.)
- Return a PaymentResponse based on the payment outcome
checkoutUrl
The Paystack checkout URL to load in the webview
Returns a PaymentResponse containing the payment result
Implementation
Future<PaymentResponse> processPayment(String checkoutUrl);