Code Monkey home page Code Monkey logo

xpay's Introduction

Nexi XPay

In questa repository trovi tutti gli esempi necessari per integrare il gateway XPay di Nexi, in maniera facile e veloce.

xpay's People

Contributors

cartasi avatar ccrippa avatar froverasft avatar nexipayments avatar nexixpaysdk avatar riccardoravasi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

xpay's Issues

Android > 9, FrontOffice.paga

Da Android 9 in poi usando il metodo
public void paga(ApiFrontOfficeQPRequest apiFrontOfficeQPRequest, boolean navigationEnabled, FrontOfficeCallbackQP frontOfficeQPCallback)

da errore.
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
Bisognerebbe aggiungere all'intent
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

Quindi:

`    /**
     * @param apiFrontOfficeQPRequest parametri QP per tutti i nuovi merchant
     * @param navigationEnabled abilita la navigazione in webview
     * @param frontOfficeQPCallback callback in uscita a pagamento terminato/annullato/in errore
     */
    public void paga(ApiFrontOfficeQPRequest apiFrontOfficeQPRequest, boolean navigationEnabled, FrontOfficeCallbackQP frontOfficeQPCallback) {
        this.frontOfficeQPCallback = frontOfficeQPCallback;
        Intent intent = new Intent(context, ActivityFrontOfficeQP.class);
        intent.putExtra(FrontOfficeParametersQP.ALIAS, apiFrontOfficeQPRequest.getAlias());
        intent.putExtra(FrontOfficeParametersQP.COD_TRANS, apiFrontOfficeQPRequest.getCodTrans());
        intent.putExtra(FrontOfficeParametersQP.DIVISA, apiFrontOfficeQPRequest.getCurrency());
        intent.putExtra(FrontOfficeParametersQP.IMPORTO, apiFrontOfficeQPRequest.getAmount());
        intent.putExtra(FrontOfficeParametersQP.MAC, apiFrontOfficeQPRequest.getMac());
        intent.putExtra(FrontOfficeParametersQP.ENVIRONMENT, selectedEnvironment);
        intent.putExtra(FrontOfficeParametersQP.EXTRA_KEYS, apiFrontOfficeQPRequest.getExtraKeys());
        intent.putExtra(BaseWebViewActivity.NAVIGATION_ENABLED, navigationEnabled);
        frontOffice = this;
        intent.putExtra(EnvironmentUtils.ACTIVITY_CALLER, this);
       //riga da aggiungere
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        
        context.startActivity(intent);
    }`

Unable to build with xcode 15.3

Failed to build module 'XPaySDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)', while this compiler is 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)'). Please select a toolchain which matches the SDK.

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.