Giter Club home page Giter Club logo

processout-ios's Introduction

ProcessOut

Get started with our ProcessOut documentation or browse the SDK reference:

Requirements

iOS 13.0+

Modules

Module Description
ProcessOut Allows to interact with ProcessOut API and provides a UI to handle payments.
ProcessOutCheckout3DS Integration with Checkout.com 3D Secure (3DS) mobile SDK.
ProcessOutUI ProcessOut prebuilt UI to handle payments.

Note

We are currently in the process of migrating UI from ProcessOut to ProcessOutUI module. The new module is based on SwiftUI, so styling is not compatible with ProcessOut (that is based on UIKit). When feature parity is reached, UI in ProcessOut will be deprecated.

Contributing

We welcome contributions of any kind including new features, bug fixes, and general improvements.

Development requirements

  • A recent version of Xcode (tested with 15.0.1)
  • Homebrew package manager

Installation

Before going further please make sure that you have installed all dependencies specified in requirements section. Then in order to install remaining dependencies and prepare a project run ./Scripts/BootstrapProject.sh script from repository's root directory. It will create ProcessOut.xcodeproj project that should be used for development.

Note

If you plan to run tests ensure that Tests/ProcessOutTests/Resources/Constants.yml and Tests/ProcessOutUITests/Resources/Constants.yml files with test project credentials exist before generating project. E.g.

projectId: test-proj_K3Ur9LQzcKtm4zttWJ7oAKHgqdiwboAw
projectPrivateKey: key_test_RE14RLcNikkP5ZXMn84BFYApwotD05Kc
customerId: cust_dCFEWBwqWrBFYAtkRIpILCynNqfhLQWX

Running tests

To run tests locally use ./Scripts/Test.sh script. It is also possible to run them directly in Xcode from the ProcessOut target in ProcessOut.xcodeproj.

License

ProcessOut is available under the MIT license. See the LICENSE file for more info.

processout-ios's People

Contributors

andriana-prudyvus-cko avatar andrii-vysotskyi-cko avatar dcacenabes avatar github-actions[bot] avatar helene-henrichsen-cko avatar jeremy-lejoux-cko avatar jlejoux avatar julien-rodrigues-cko avatar m0rtymerr avatar manuel-huez avatar maurovc avatar pierre-lafanechaire-cko avatar processout-ci avatar seb-preston-cko avatar simeon-kostadinov-cko avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

processout-ios's Issues

Invalid card is assigned to customer token

I have been testing different error scenarios and found that when I run assignCustomerToken and get error like card.stolen, card is still assigned to customer token, when I fetch customer tokens after such failed request I get that stolen card in response. Is it intentional? How to determine if saved payment method is valid before attempting to charge?

POAssignCustomerTokenRequest tokenId

Hi, could you explain where do I get tokenId for POAssignCustomerTokenRequest?
I cannot find anything like that in api reference, it only takes customerId and sourceId, there is no tokenId
How do I generate it or where do I get it from?

We can't upload App to AppStore using version 4.4.0 of the framework

While uploading latest version of our customer app to Apple App Store it failed with error:

[2023-07-26T16:31:11.643Z] [Application Loader Error Output]: Asset validation failed The bundle 'Payload/XXXX.app/Frameworks/cmark.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: 9215d593-ff25-454b-9a6a-dfb8458aa6c6) (90057)

Reverting update to 4.3.0 solved the issue. Could you please verify if info plist file contains all required keys?

A lot of sweat is already flowing from our developers head!

Im integrating apple pay and getting this error when capturing payment

An unexpected error occurred while processing your request.. A lot of sweat is already flowing from our developers head!

Initially I thought it was related to me trying to use live payment method in sandbox environment, but I got this with sandbox apple id and card as well
What am I doing wrong?

After introducing CMark dependency we can not consume this framework as dynamic anymore

In version 4.1.0 a dependency with CMark was introduced.

https://github.com/processout/processout-ios/releases/tag/4.1.0

After bumping the process out dependency in our project we are getting the following error when compiling:

[!] The 'Pods-XX' target has transitive dependencies that include statically linked binaries: (/Users/x/xx_develop/Pods/ProcessOut/Vendor/cmark.xcframework)

Is there any way to keep using the library as a dynamic framework?

React native integration

I want to use this sdk with react-native, could you provide detailed installation instructions for this package? Im not a swift developer, it is not really obvious what to do and how to use it

How to import ProcessOutCheckout3DS library

Hello ๐Ÿ‘‹ ,

I'm integrating ProcessOut SDK 4.2.1 through Swift Package Manager and I'm not able to import ProcessOutCheckout3DS as it's not exposed as a product in your Package.swift.

Could you please add it?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.