khalti / khalti-flutter-sdk

Official Flutter SDK for Khalti Payment systems
BSD 3-Clause "New" or "Revised" License
20 stars 37 forks source link

Issue with CORS on flutter web. #20

Closed chasseuragace closed 7 months ago

chasseuragace commented 2 years ago

Accessing the APIs when running on Browser is not possible due to CORS.

Steps to reproduce the behavior:

  1. Build/Run the example app on Web

Whats expected: Successful API requests How? include in response the origin from the request header.

acpmasquerade commented 7 months ago

This is KPG-v1 and this version of SDK is no longer maintained and already in the deprecation schedule.

Please upgrade to KPG-v2 checkout version https://github.com/khalti/checkout-sdk-flutter