Giter Site home page Giter Site logo

gpwebpay's Introduction

GPWebPay

Code Analyse Actions Status UnitTests Actions Status Donwloads Latest stable Code coverage Documentation Status

GPWebPay is a Nette Add-On for GPWebPay HTTP API

If you does not use Nette you can use GPWebPay-core lib.

Requirements

Version PHP Nette support Maintained Note
3.4.x ^8.0 ^3.1 Yes use GPWebPay-core ^2.2
3.3.x ^7.2, 8.0 ^2.4, ^3.0 No use GPWebPay-core ^2.0, BC breaks
3.2.x ^7.1 ^2.4, ^3.0 No use GPWebPay-core ^2.0, BC breaks
3.1.x ^7.1 ^2.4, ^3.0 No use GPWebPay-core ^1.0
3.0.x ^7.1 ^2.3 No
2.x ^5.6 ^2.3 No

Installation

The best way to install Pixidos/GPWebPay is using Composer:

$ composer require pixidos/gpwebpay

Documentation

Learn more in the documentation.

gpwebpay's People

Contributors

dependabot-preview[bot] avatar jangalek avatar janharsa avatar michaltrmac avatar ondraondra81 avatar stejky avatar tg666 avatar tivvit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gpwebpay's Issues

Parameter order

Hello.

Thanks for updating this for Nette 3.0. I have tried it and all worked until I have tried to communicate with the test environment. It has been constantly returning PRCODE=31 (Wrong digest). I have checked that with the support and they have suggested to have the parameters (MERCHANTID, OPERATION etc.) in the same order as they are in documentation, which finally helped.

Anybody else experienced this?

I have thought that the possible solution might be to switch order of parameters in DigestParams.php line 60

change this:
return array_intersect_key($params, array_flip(self::DIGEST_PARAMS_KEYS));

to this:
return array_intersect_key(array_flip(self::DIGEST_PARAMS_KEYS), $params);

but that would overwrite the values of my parameters with the default ones.

nette/bootstrap dependency

Hi,

I'm trying to update to version 3.3.0 with nette 2.4, but there is an issue with version of nette/bootstrap:^3.1

Could it be possible to move this dependency to dev requirements? As I understand it, it's used only in tests.

Thanks.

Verification fails if RESULTTEXT is empty in response

Hello.

I am trying to implement GPWebPay on a new web, but I am stuck on "Digest or Digest1 is incorrect" error message after returning from the gate. But only when the payment is a success. When there is an error, everything runs as intended,

I have found out that parameter RESULTTEXT is the cause. If the payment is successful it not present and therefore the verification fails. It has been mentioned in #11 . It has been even merge to master, but it is not there anymore. Can you please provide some assistance?

PS: I have also just found out that GPWebPay staff is able to force sending of the RESULTTEXT parameter. When they do so, everything works fine.

Trying to sign WS API request

Have you tried sign WS API request? Im getting always Signature not match even if I pass exactly the same parameters as WS API docs says.

PHP 8 compatibility

Hello, I think this won't be a big issue, but Composer won't let me update the package when I am running on PHP 8.0.3. Could the PHP requirements be changed to "^7.1|^8.0", please?

Push payment

Can you add push for payment ?
When customer did bad payment, or close gateway, than for repeat.

Thanks

Update the latte/latte dependency

Would it be possible to update (enable 3.x version) of latte/latte dependencies, please?

If I looked correctly, it's required just for the gpWebPayControl.latte template, where it shouldn't be a problem to add support for the latest latte.

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.