Coder Social home page Coder Social logo

paymill-android's People

Contributors

innova-al avatar nikoloff avatar pm-alexander-serbe avatar stoilkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

paymill-android's Issues

No error text / customer voucher

When you try to buy/reserve/generate token for a custom voucher, there is validation for the fields, but the error messages are empty.

Default enabled cards

Currently all possible credit card types are enabled with the default Setting. Instead, only the card types supported by PAYMILL should be enabled by default.

How to implement simple payments procedure?

I've already asked it in yours support but it looks like here I can get answer faster.
I'm expecting some issues with integration of Pymill SDK into my Android appplication. I only need to be able to pay for some items so I want to use Payment screens.

First of all there different quickstart docs
here - http://paymill.github.io/paymill-android/docs/sdk/reference/packages.html
and here - https://www.paymill.com/en-gb/documentation-3/add-ons/mobile-sdk/

I don't undertand which method I need to use so I used documentation from http://javadoc.paymill-mobile.com/reference/packages.html cause it looks newer (at least activity name is correct).
I created android library for using Payment screens. I declared activity in my minifest file like this:

<activity
android:name="com.paymill.android.payment.PaymentActivity"
            android:screenOrientation="portrait" />

and service like this:

<service
            android:name="com.paymill.android.service.PMService"
            android:enabled="true"
            android:exported="false"

Internet permission is added too.

Here's how I'm trying to make a payment:

PMPaymentParams params = PMFactory.genPaymentParams(CURRENCY,
                (int) order.orderData.total * 100, null);
Intent intent = PaymentActivity.Factory.getTransactionIntent(mContext,
                params, true);
// create the intent and start the activity.
mContext.startActivityForResult(intent, PaymentActivity.REQUEST_CODE);

and in my Application subclass I initialize PMManager like this:

    PMManager
            .init(this, AppConstants.IS_RELEASE ? ServiceMode.LIVE
                    : ServiceMode.TEST, AppConstants.PAYMILL_PUBLIC_KEY,
                    null, null);

(tried also non null BackgroundListener but actually I don't need it).

Payment screen appeares. I used test credentials but result object tells me about BRIDGE error with name INVALID_HOLDER and I can't find out what is it and how to fix it.

Payments with non integer amount.

It looks like it's possible to generate PMPaymentParams only for integer amout. But what If I need to proceed with for example 10.56 EUR?

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.