{"id":17452437,"url":"https://github.com/yazeedalkhalaf/hyperpay","last_synced_at":"2026-05-10T06:54:02.307Z","repository":{"id":118156269,"uuid":"346307023","full_name":"YazeedAlKhalaf/hyperpay","owner":"YazeedAlKhalaf","description":"A Flutter plugin that wraps the official SDK of HyperPay.","archived":false,"fork":false,"pushed_at":"2021-08-21T13:09:09.000Z","size":6414,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T08:19:00.360Z","etag":null,"topics":["android","flutter","flutter-plugin","hyperpay","hyperpay-sdk","ios"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YazeedAlKhalaf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-10T09:50:40.000Z","updated_at":"2025-02-05T08:06:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"60de258f-a309-4c78-8ddd-12718757d6e3","html_url":"https://github.com/YazeedAlKhalaf/hyperpay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YazeedAlKhalaf%2Fhyperpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YazeedAlKhalaf%2Fhyperpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YazeedAlKhalaf%2Fhyperpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YazeedAlKhalaf%2Fhyperpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YazeedAlKhalaf","download_url":"https://codeload.github.com/YazeedAlKhalaf/hyperpay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246644096,"owners_count":20810687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","flutter","flutter-plugin","hyperpay","hyperpay-sdk","ios"],"created_at":"2024-10-17T23:09:56.645Z","updated_at":"2026-05-10T06:53:57.277Z","avatar_url":"https://github.com/YazeedAlKhalaf.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hyperpay\n\n\u003e this plugin is not official.\n\nThis plugin is a wrapper around the official SDK of [HyperPay](https://www.hyperpay.com/).\n\n## 🔥 Features:\n\n- 😌 Easy to setup!\n- 🚀 Uses the official SDK under the hood!\n- 👾 Ability to create custom UI!\n- 🧪 Fully tested!\n- 🔋 Batteries included!\n\n## 💻 Server Setup\n\nFollow the official guide to setup the two endpoints:\n\n1.  For getting a `checkoutId`.\n2.  For getting the status of a payment using its `checkoutId`.\n\nOfficial Guide: [https://wordpresshyperpay.docs.oppwa.com/tutorials/mobile-sdk/integration/server](https://wordpresshyperpay.docs.oppwa.com/tutorials/mobile-sdk/integration/server)\n\n## 🍎 iOS Setup\n\nThis will guide your through the process of implementing the iOS part that is needed to make the plugin function correctly.\n\n\u003e If you face any problems, look at the example app and how it is implemented. 😉\n\n### Requirements:\n\n- Xcode 12 and iOS 14 SDK\n- iOS 10.0+ deployment target\n\n### Steps:\n\n1. Register a custom URL scheme:\n\n   1. In Xcode, click on your project in the Project Navigator and navigate to **App Target \u003e Info \u003e URL Types**\n   2. Click [+] to **add a new URL type**\n   3. Under URL Schemes, **enter your app switch return URL scheme**. This scheme must start with your app's Bundle ID. For example, if the app bundle ID is `com.companyname.appname`, then your URL scheme could be `com.companyname.appname.payments`.\n   4. Add scheme URL to a whitelist in your app's Info.plist:\n\n   ```xml\n   \u003ckey\u003eLSApplicationQueriesSchemes\u003c/key\u003e\n    \u003carray\u003e\n        \u003cstring\u003ecom.companyname.appname.payments\u003c/string\u003e\n    \u003c/array\u003e\n   ```\n\n2. Edit your Podfile that is located under your project's iOS folder:\n\n   1. Uncomment the line that looks something like this:\n\n   ```ruby\n   # Before\n   # platform :ios, '9.0'\n\n   # After\n   platform :ios, '10.0'\n   ```\n\n   2. Add this code code snippet to your Podfile:\n\n   ```ruby\n    post_install do |installer|\n      installer.pods_project.targets.each do |target|\n        flutter_additional_ios_build_settings(target)\n\n        # from here.\n        target.build_configurations.each do |config|\n          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'\n        end\n        # to here.\n\n      end\n    end\n   ```\n\n   This makes sure that all packages and plugins you use have a deployment target of `10.0`.\n   You Podfile should look similar to:\n\n   ```ruby\n    # Uncomment this line to define a global platform for your project\n    platform :ios, '10.0'\n\n    # some code here\n\n    post_install do |installer|\n      installer.pods_project.targets.each do |target|\n        flutter_additional_ios_build_settings(target)\n        target.build_configurations.each do |config|\n          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'\n        end\n      end\n    end\n   ```\n\n## 🤖 Android Setup\n\nnot implemented yet.\n\n## 🎯 How to use?\n\nnot implemented yet.\n\n## 🚨 Error Handling\n\nAll our error codes start with `hyperpay-` prefix.\nTo handle errors you have to catch `PlatformException`.\n\n| Error Code                           | Description                                                                    |\n| ------------------------------------ | ------------------------------------------------------------------------------ |\n| `hyperpay-method-not-found`          | This indicates that the method you invoked through the channel does not exist. |\n| `hyperpay-transaction-error`         | This indicates that the transaction has an error.                              |\n| `hyperpay-transaction-failure`       | This indicates that the transaction failed for unknown reason.                 |\n| `hyperpay-card-payment-params-error` | This indicated that the card payment params has an error.                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazeedalkhalaf%2Fhyperpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyazeedalkhalaf%2Fhyperpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazeedalkhalaf%2Fhyperpay/lists"}