Implementing PagSeguro payment plugin fails.

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
eduardogarcia234
Posts: 2
Joined: 28 Jul 2018, 07:28

Implementing PagSeguro payment plugin fails.

Post by eduardogarcia234 » 28 Jul 2018, 18:52

Hello folks!

I'm trying to configure an Aimeos ecommerce on local environment to try and getting serious headaches on an existant plugin.

on researching the net, i`ve found an article at Github page that indicate a user that have same needs as me, to get an already existent plugin (omnipay-pagseguro)

link from the content:
https://github.com/aimeos/aimeos-laravel/issues/67

but when i try to add it to my instalation, i get some conflicts on package versions.

Someone that have knowledgement or maybe an updated version of this plugin could help me ?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Implementing PagSeguro payment plugin fails.

Post by aimeos » 29 Jul 2018, 13:46

What's the error displayed by composer if you want to install the Omnipay driver?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

eduardogarcia234
Posts: 2
Joined: 28 Jul 2018, 07:28

Re: Implementing PagSeguro payment plugin fails.

Post by eduardogarcia234 » 29 Jul 2018, 18:06

i've managed to install it, but cant install ai-payments.

sudo composer require aimeos/ai-payments
Using version ^2018.07 for aimeos/ai-payments
./composer.json has been updated
Loading composer repositories with package information Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Conclusion: don't install aimeos/ai-payments 2018.07.2
- Conclusion: don't install aimeos/ai-payments 2018.07.1
- Conclusion: remove aimeos/aimeos-core 2017.10.15
- Installation request for aimeos/ai-payments ^2018.07 -> satisfiable by aimeos/ai-payments[2018.07.1, 2018.07.2, 2018.07.x-dev].
- Conclusion: don't install aimeos/aimeos-core 2017.10.15
- aimeos/ai-payments 2018.07.x-dev requires aimeos/aimeos-core ~2018.07 -> satisfiable by aimeos/aimeos-core[2018.07.1, 2018.07.10, 2018.07.11, 2018.07.12, 2018.07.2, 2018.07.3, 2018.07.4, 2018.07.5, 2018.07.6, 2018.07.7, 2018.07.8, 2018.07.9, 2018.07.x-dev].
- Can only install one of: aimeos/aimeos-core[2018.07.1, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.10, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.11, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.12, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.2, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.3, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.4, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.5, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.6, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.7, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.8, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.9, 2017.10.15].
- Can only install one of: aimeos/aimeos-core[2018.07.x-dev, 2017.10.15].
- Installation request for aimeos/aimeos-core (locked at 2017.10.15) -> satisfiable by aimeos/aimeos-core[2017.10.15].


---

Also, how i do configure it on Admin? there is nothing refering to it, maybe because lack of ai-payments?

Thank you!

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Implementing PagSeguro payment plugin fails.

Post by aimeos » 30 Jul 2018, 12:23

You have installed Aimeos 2017.10 and need the corresponding ai-payments version:

Code: Select all

composer require aimeos/ai-payments:~2017.10
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply