aimeoscom / ai-payments Goto Github PK
View Code? Open in Web Editor NEWPayment provider extension for Aimeos web shops and e-commerce solutions
Home Page: https://aimeos.org/
License: GNU Lesser General Public License v3.0
Payment provider extension for Aimeos web shops and e-commerce solutions
Home Page: https://aimeos.org/
License: GNU Lesser General Public License v3.0
installed on laravel, default installation, tried to add paypal plus, the option values don't show a "type", but when trying to save, this error shows type: Configuration for "type" is missing
I have aimeos laravel installed and I have this in my composer.json:
"aimeos/aimeos-laravel": "~2017.04",
"aimeos/ai-payments": "dev-master"
and I am getting this error :
I am not sure which one I need to install that will work?
Thanks
Hey there,
I think in the composer.json "aimeos/aimeos-core" should be required. The ai-payments package is, in my opinion, just usable with aimeos, since it is an extension for aimeos.
My current problem is, the installation of ai-payments throws an exception, because aimeos is installed after ai-payments so the folder to install ai-payments into is simply not present. The Solution above would fix this problem.
As an hint: I have a global composer.json which installs the whole aimeos stuff. ai-payments is installed to the correct place by providing an "installer-path". I don't touch the composer.json which ships with the "aimeos-core"
So thank you in advance
P
Hi Guys,
Stripe payments using Card Number: 4000000000003220
3DS2 Required - are failing (event status payment_intent.requires_action
in stripe console), could you please confirm if you can replicate this ?
All payments using Card Number 4242424242424242
are processed successfully, all card numbers requiring 3D secure are failing.
https://stripe.com/docs/testing#regulatory-cards
Content of mshop_order_base_service_attr
| id | siteid | parentid | attrid | type | code | quantity | name | value | mtime | ctime | editor |
|----|--------|----------|--------|-----------------|-------------|----------|------|-------------------------------|---------------------|---------------------|-------|
| 64 | 1. | 396 | | payment/omnipay | Reference | 1 | | "pi_3L60MIHI7y99QQDV1OZpAgv0" | 2022-06-01 23:49:47 | 2022-06-01 23:49:47 | Liviu |
| 65 | 1. | 396 | | payment/omnipay | Transaction | 1 | | null | 2022-06-01 23:49:47 | 2022-06-01 23:49:47 | Liviu |
Using
aimeos/ai-payments: 2022.04.3
omnipay/stripe: v3.2.0
Checkout config
'checkout' => [
'confirm' => [
'url' => [
'target' => 'aimeos_shop_confirm',
],
],
'standard' => [
'url' => [
'target' => 'aimeos_shop_checkout',
],
'summary' => [
'option' => [
'terms' => [
'url' => [
'target' => 'aimeos_shop_terms',
],
'privacy' => [
'url' => [
'target' => 'aimeos_shop_privacy',
],
],
'cancel' => [
'url' => [
'target' => 'aimeos_shop_terms',
],
],
],
],
],
],
'update' => [
'url' => [
'target' => 'aimeos_shop_update',
],
],
],
Stripe local service config
{
"address":1,
"apiKey":"sk_test_51xxx",
"authorize":0,
"createtoken":1,
"onsite":1,
"publishableKey":"pk_test_51Ixxx",
"testmode":1,
"type":"Stripe_PaymentIntents"
}
Stripe Response
#parameters: array:16 [▼
"apiKey" => "sk_test_51IGhcfHI7y99Qxxxxx"
"stripeVersion" => null
"testMode" => 1
"transactionId" => "57"
"amount" => "1.00"
"currency" => "GBP"
"description" => "Order 57"
"clientIp" => null
"returnUrl" => "http://aimeos.test/en/shop/confirm/card-payment_136ca?currency=GBP"
"cancelUrl" => "http://aimeos.test/en/shop/confirm/card-payment_136ca?currency=GBP"
"notifyUrl" => "http://aimeos.test/update?code=card-payment_136ca&orderid=57&locale=en¤cy=GBP"
"token" => "tok_1L60AHHI7y99QQDxxxxx"
"customerReference" => "cus_Lnb58xxxx"
"transferGroup" => "ORDER-57"
"confirm" => true
"setup_future_usage" => "off_session"
]
Intent Response
#data: array:39 [▼
"id" => "pi_3L60AHHI7y99QQDV1Bcxxxxx"
"object" => "payment_intent"
"amount" => 100
"amount_capturable" => 0
"amount_details" => array:1 [▼
"tip" => []
]
"amount_received" => 0
"application" => null
"application_fee_amount" => null
"automatic_payment_methods" => null
"canceled_at" => null
"cancellation_reason" => null
"capture_method" => "automatic"
"charges" => array:5 [▼
"object" => "list"
"data" => []
"has_more" => false
"total_count" => 0
"url" => "/v1/charges?payment_intent=pi_3L60AHHI7y99QQDV1Bcxxxx"
]
"client_secret" => "pi_3L60AHHI7y99QQDV1Bcy8fml_secret_CrM6VUAOoeVkSjORVjUxxxxx"
"confirmation_method" => "manual"
"created" => 1654123041
"currency" => "gbp"
"customer" => "cus_Lnb58ejfi5Pd2a"
"description" => "Order 57"
"invoice" => null
"last_payment_error" => null
"livemode" => false
"metadata" => []
"next_action" => array:2 []
"on_behalf_of" => null
"payment_method" => "pm_1L60AHHI7y99QQDVVeOxxxxx"
"payment_method_options" => array:1 [▼
"card" => array:4 [▼
"installments" => null
"mandate_options" => null
"network" => null
"request_three_d_secure" => "automatic"
]
]
"payment_method_types" => array:1 [▼
0 => "card"
]
"processing" => null
"receipt_email" => null
"review" => null
"setup_future_usage" => "off_session"
"shipping" => null
"source" => null
"statement_descriptor" => null
"statement_descriptor_suffix" => null
"status" => "requires_action"
"transfer_data" => null
"transfer_group" => "ORDER-57"
]
I've added ai-payments to my existing aimeos-laravel install, and am trying to set up Stripe as a payment service.
Selected status of enabled, type of Payment, Code is Stripe, Provider is Stripe, Label is Stripe, position is 0, I add the apiKey etc as requested, then click save.
In the dialog that comes up, I get:
Argument 1 passed to Controller_ExtJS_Abstract::_transformValues() must be an instance of stdClass, array given, called in /var/www/html/BCS/vendor/aimeos/aimeos-core/controller/extjs/src/Controller/ExtJS/Service/Default.php on line 54 and defined
I guess this means that it didn't save and I don't have an option to let people pay via Stripe?
I try to install mollie as a payment provider using composer: php composer req "omnipay/mollie:~3.0"
These codes are returened:
Problem 1
- Installation request for aimeos/ai-payments dev-master -> satisfiable by aimeos/ai-payments[dev-master].
- aimeos/ai-payments dev-master requires aimeos/aimeos-core dev-master -> satisfiable by aimeos/aimeos-core[dev-master] but these conflict with your requirements or minimum-stability.
Problem 2
- Conclusion: don't install omnipay/mollie v3.2.0
........ many lines .......
- Can only install one of: symfony/http-foundation[v2.8.8, v4.4.15].
- Can only install one of: symfony/http-foundation[v2.8.9, v4.4.15].
- Installation request for symfony/http-foundation (locked at v4.4.15) -> satisfiable by symfony/http-foundation[v4.4.15].
Installation failed, reverting ./composer.json to its original content.
i am using a typo3 site newly set up with:
php composer create-project typo3/cms-base-distribution myshop (installing typo3 v 10.4.9)
php composer req aimeos/aimeos-typo3:~20.10 (installing last version of aimeos)
Than tried installing ai-payments extension. with require: "aimeos/ai-payments": "dev-master", and composer udpate.
Result:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for aimeos/ai-payments dev-master -> satisfiable by aimeos/ai-payments[dev-master].
- aimeos/ai-payments dev-master requires aimeos/aimeos-core dev-master -> satisfiable by aimeos/aimeos-core[dev-master] but these conflict with your requirements or minimum-stability.
Hope you can help to install a payment service provider. For the netherlands mollie or multisafepay are ok.
I did not try the typo3 extension Aimeos payments.
webserver unix PHP7.2.34 mariadb 1.4 centos8 on mac 10.15.7
This works.
token_selector: "input[name=\"ai[paymenttoken]\"]",
I'm using Aimeos extension v19.10.1 with TYPO3 9.5.14 ... I setup the payment gateway to connect my shop with Quickpay Driver, evreyhting is okay except the payment confirmation.
Even the payment approved on my Quickpay account and the amount deducted from the credit card, on my site still I have the following message : Payment status : unfinished
by launching callbackurl I get :
Call to undefined method Omnipay\Quickpay\Message\Notification::send()
in /var/www/example.com/typo3conf/ext/aimeos_pay/Resources/Private/Extensions/ai-payments/lib/custom/src/MShop/Service/Provider/Payment/OmniPay.php line 504
I am using Aimeos laravel and I can't install Ai payments.
Here's the error
Problem 1
- Conclusion: don't install aimeos/ai-payments 2017.01.2
- Conclusion: don't install aimeos/ai-payments 2017.01.x-dev
- Can only install one of: aimeos/aimeos-core[dev-master, 2016.10.7].
- Can only install one of: aimeos/aimeos-core[dev-master, 2016.10.7].
- Can only install one of: aimeos/aimeos-core[dev-master, 2016.10.7].
- aimeos/ai-payments 2017.01.1 requires aimeos/aimeos-core dev-master -> satisfiable by aimeos/aimeos-core[dev-master].
- Installation request for aimeos/ai-payments ^2017.01 -> satisfiable by aimeos/ai-payments[2017.01.1, 2017.01.2, 2017.01.x-dev].
- Installation request for aimeos/aimeos-core == 2016.10.7.0 -> satisfiable by aimeos/aimeos-core[2016.10.7].
I guess it's because of aimeos-core is required ?
Hi, i think there is an issue in omnipy file in sendRequest function.
the type return by this: $this->getValue( 'authorize', false ) is by default interger and there is this $provider->supportsAuthorize() which return boolean type. So this :
if( $this->getValue( 'authorize', false ) && $provider->supportsAuthorize() )
will not always be coorect.
Hi!
I've add "aimeos/ai-payments": "2020.10.7" to my composer
and then have problems with two lines following:
$response->getTransactionId() //response nothing
and
'clientIp' => $this->getValue( 'client.ipaddress' ) //response nothing
To force my app working I did replace these two lines with
$response->getRequest()->getTransactionId()
and
'clientIp' => request()->ip()
Probably is useful for you.
My composer info attached, if you need it.
composer_info.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.