Giter VIP home page Giter VIP logo

ai-payments's People

Contributors

aimeos avatar aimeoscom avatar alextravin avatar caveman86 avatar creativemadeofficial avatar dennisdittmann avatar maxmishyn avatar mterwei avatar nanard avatar nos3 avatar scrutinizer-auto-fixer avatar sebastien-vedrine avatar tenkrad avatar xerc avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

ai-payments's Issues

Getting error with installion fo ai payemnt

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 :

  • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.11].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.1].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.10].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.11].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.2].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.3].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.4].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.5].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.6].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.7].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.8].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.9].
    • Can only install one of: aimeos/aimeos-core[dev-master, 2017.04.x-dev].

I am not sure which one I need to install that will work?

Thanks

require aimeos in composer.json

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

Stripe 3D Secure Payment processing

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&currency=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"
  ]

Can't add Stripe payment provider

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?

problem installing mollie

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

Call to undefined method Omnipay\Quickpay\Message\Notification::send()

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

Composer error

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 ?

Stripe Error payment form.

I get this js error when loading payment form.

To fix the error I have to modify Stipe.php and change in $feConfig :
payment.cardno => payment-cardno
payment.expiry => payment-expiry
payment.cvv => payment-cvv

Maybe someone can test and fix it for the next release.

capture d ecran 2018-11-14 a 09 42 38

Casting issue in omnipay file

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.

two methods don't work in 2020.10.7

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

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.