Coder Social home page Coder Social logo

sdk-java's People

Contributors

aaabramov avatar andrewdidovik avatar oleksiikliuiev avatar rpuch avatar shurick-k avatar stokito avatar viplifes avatar xak2000 avatar

Stargazers

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

Watchers

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

sdk-java's Issues

Bug (Ukraine language)

Map params = new HashMap();
        params.put("action", "pay");
        params.put("amount", "1.50");
        params.put("currency", "UAH");
        params.put("order_id", UUID.randomUUID().toString());
        params.put("description", "description text");
        params.put("language", "uk");
        params.put("result_url", "http://localhost:8080");
        params.put("sandbox", "1"); // enable the testing environment and card will NOT charged. If not set will be used property isCnbSandbox()
        LiqPay liqpay = new LiqPay("i39087887787970", "eS3eYIE3ztX1rere9GXryMUqaBdfsezewEnroKp");

Generated URL - //static.liqpay.com/buttons/p1uk.radius.png

404 Not Found

Нова версія релізу (Перехід на новий домен)

11 місяців тому було змінено адресу API з
https://www.liqpay.com/api/
на
https://www.liqpay.ua/api/, В гільці master зміни виконано.

Проблема полягає в тому, що остання версія (v0.6), яку можна підключити через maven цих змін не включає. Таким чином усі запити далі відбуваються за старою адресою із перенаправленням. Із цим все добре, але з 01.07.2018 автоматичне перенаправлення більше не буде відбуватися.

Отже, з'являється питання: чи потрібно самому завантажувати останню версію коду (master) і робити білд. Чи можливо буде створено нову версію релізу (v0.7)?

Incorrect LIQPAY_API_CHECKOUT_URL

Overview

Looks like API was changed and now SDK points to wrong checkout URL.
Steps to reproduce:

  1. Generate an HTML-form with cnb_form method for valid P2P request.
  2. Open the HTML-form in a browser.
  3. Push "Pay".
  4. Result:
  • Expected result: a payment LiqPay page should be rendered. Example:
    Знімок екрана 2020-11-21 о 15 01 17
  • Actual result: an error page was rendered:
    Знімок екрана 2020-11-21 о 15 02 09

A cause is the invalid checkout URL:

String LIQPAY_API_CHECKOUT_URL = "https://www.liqpay.ua/api/3/checkout";

but that should be:

String LIQPAY_API_CHECKOUT_URL = "https://www.liqpay.ua/api/checkout";

Unable to download artifact from maven repository

Added dependency as described on main page of this repo

<repositories>
    <repository>
        <id>bintray-stokito-maven</id>
        <name>stokito-maven</name>
        <url>https://api.bintray.com/maven/stokito/maven/liqpay-sdk</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.liqpay</groupId>
    <artifactId>liqpay-sdk</artifactId>
    <version>0.6</version>
</dependency>

When building with Maven get error

[ERROR] Failed to execute goal on project portal: Could not resolve dependencies for pro
ject com.site:portal:war:1.2.2-SNAPSHOT: Failed to collect dependencies at com.liqpa
y:liqpay-sdk:jar:0.6: Failed to read artifact descriptor for com.liqpay:liqpay-sdk:jar:0
.6: Could not transfer artifact com.liqpay:liqpay-sdk:pom:0.6 from/to bintray-stokito-ma
ven (https://api.bintray.com/maven/stokito/maven/liqpay-sdk): Not authorized , ReasonPhr
ase:Unauthorized. -> [Help 1]

Credentials shoul be provided to use this repo

On repository artifact is not available for download. Looks like it is not uploaded to repo or was removed. Please check.
https://bintray.com/stokito/maven/liqpay-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.