getPaymentDetails method

  1. @override
Future<PaymentResponse> getPaymentDetails(
  1. String id
)
override

Returns the details of the payment with the specified identifier string.

If the payment method requires a redirection to a third party (e.g., 3D Secure), the redirect URL back to your site will include a cko-session-id query parameter containing a payment session ID that can be used to obtain the details of the payment, for example: http://example.com/success?cko-session-id=sid_ubfj2q76miwundwlk72vxt2i7q

Implementation

@override
Future<PaymentResponse> getPaymentDetails(String id) async =>
    await paymentsRepository.getPaymentDetails(id);