'How to use Payhere authorization flow in @payhere/payhere-mobilesdk-reactnative

@payhere/payhere-mobilesdk-reactnative package only contain these payment methods only.

  1. One-time Payment Request
  2. Recurring Payment Request
  3. Preapproval Request

But I need to hold the payment using Authorize API. That feature already have in webview. How can I do this from React Native sdk?



Solution 1:[1]

They doesn't implemented it for now for react-native Sdk. Probably they will give a package update within one month.

https://github.com/PayHereLK/payhere-mobilesdk-reactnative/issues/15

P.S- Now they have given an update with these payment methods.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1