Stripe no longer working

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!
flomo
Posts: 52
Joined: 26 Sep 2019, 15:11

Stripe no longer working

Post by flomo » 21 Oct 2020, 13:06

I just updated my shop from 2020.4 to 2020.10. Now the checkout no longer works with Stripe. After submitting the card number, I get the error "Call to undefined method Omnipay\Stripe\Message\Response::getPaymentIntentReference() ".

This may be similar to this issue: post11379.html

Currently installed versions:
aimeos/aimeos-laravel 2020.10.1
aimeos/aimeos-core 2020.10.5
aimeos/ai-payments 2020.10.1
omnipay/stripe v3.1.0

I was unable to find the method getPaymentIntentReference().

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

Re: Stripe no longer working

Post by aimeos » 22 Oct 2020, 11:07

Seems like there's still no new version released for Omnipay Stripe driver.
Can you use omnipay-stripe:dev-master?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

flomo
Posts: 52
Joined: 26 Sep 2019, 15:11

Re: Stripe no longer working

Post by flomo » 22 Oct 2020, 14:17

I'm now on omnipay/stripe dev-master fbf57b3, but I still have the same issues. I even reset the config/shop.php file and removed my custom extension.

By the way, the same error was already thrown some months ago (see this post), so the issue might not be with omnipay/stripe.

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

Re: Stripe no longer working

Post by aimeos » 22 Oct 2020, 14:28

flomo wrote: 22 Oct 2020, 14:17 I'm now on omnipay/stripe dev-master fbf57b3, but I still have the same issues. I even reset the config/shop.php file and removed my custom extension.

By the way, the same error was already thrown some months ago (see this post), so the issue might not be with omnipay/stripe.
The code is the same in 2020.10 and this was not related to getPaymentIntentReference():
https://github.com/aimeos/ai-client-htm ... hp#L69-L81

What is the exact error message and the stack trace when the error occurs?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

flomo
Posts: 52
Joined: 26 Sep 2019, 15:11

Re: Stripe no longer working

Post by flomo » 22 Oct 2020, 14:45

The code is the same in 2020.10 and this was not related to getPaymentIntentReference():
Exactly. But back then I also got the same error message, when paying with Stripe. In contrast to the error back then, however, the response from Stripe looks ok this time.
What is the exact error message and the stack trace when the error occurs?
https://flareapp.io/share/DPyLrWRm

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

Re: Stripe no longer working

Post by aimeos » 23 Oct 2020, 16:02

Can you share the output of "composer show" for the installation that throws the error?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

flomo
Posts: 52
Joined: 26 Sep 2019, 15:11

Re: Stripe no longer working

Post by flomo » 24 Oct 2020, 09:16

Here's the installed components:

academe/omnipay-datatrans 3.0.5 Datatrans Gateway for the Omnipay payment processing library
aimeos/ai-admin-jqadm 2020.10.2 Aimeos Vue.js+Bootstrap admin interface
aimeos/ai-admin-jsonadm 2020.10.1 Aimeos ai-admin-jsonadm extension
aimeos/ai-client-html 2020.10.5 Aimeos ai-client-html extension
aimeos/ai-client-jsonapi 2020.10.2 Aimeos JSON API extension
aimeos/ai-controller-frontend 2020.10.1 Aimeos ai-controller-frontend extension
aimeos/ai-controller-jobs 2020.10.2 Aimeos ai-controller-jobs extension
aimeos/ai-gettext 2020.10.1 Aimeos Gettext extension
aimeos/ai-laravel 2020.10.2 Laravel adapter for Aimeos web shops and e-commerce solutions
aimeos/ai-payments 2020.10.1 Payment extension for Aimeos web shops and e-commerce solutions
aimeos/ai-swiftmailer 2020.10.1 SwiftMailer adapter for Aimeos web shops and e-commerce solutions
aimeos/aimeos-core 2020.10.5 Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel 2020.10.1 Professional, full-featured and high performance Laravel e-commerce package for online shops and compl...
aimeos/map 1.8.0 Easy and elegant handling of PHP arrays as array-like map objects similar to jQuery and Laravel Collec...
asm89/stack-cors 1.3.0 Cross-origin resource sharing library and stack middleware
brick/math 0.9.1 Arbitrary-precision arithmetic library
clue/stream-filter v1.5.0 A simple and modern approach to stream filtering in PHP
composer/installers v1.9.0 A multi-framework Composer library installer
deployer/deployer v6.8.0 Deployment Tool
deployer/phar-update v2.2.0 Integrates Phar Update to Symfony Console.
dnoegel/php-xdg-base-dir v0.1.1 implementation of xdg base directory specification for php
doctrine/cache 1.10.2 PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such...
doctrine/dbal 2.11.3 Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection an...
doctrine/event-manager 1.1.1 The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doc...
doctrine/inflector 2.0.3 PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/l...
doctrine/instantiator 1.3.1 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer 1.2.1 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dompdf/dompdf v0.8.6 DOMPDF is a CSS 2.1 compliant HTML to PDF converter
dragonmantank/cron-expression v3.0.2 CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
egulias/email-validator 2.1.22 A library for validating emails against several RFCs
facade/flare-client-php 1.3.6 Send PHP errors to Flare
facade/ignition 2.4.1 A beautiful error page for Laravel applications.
facade/ignition-contracts 1.0.2 Solution contracts for Ignition
fideloper/proxy 4.4.0 Set trusted proxies for Laravel
filp/whoops 2.9.0 php error handling for cool kids
florianmoser/plesk-deployer v6.2.0 Deployer common recipe fixes to deploy on shared hostings using Plesk
fruitcake/laravel-cors v1.0.6 Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application
fzaninotto/faker v1.9.1 Faker is a PHP library that generates fake data for you.
graham-campbell/result-type v1.0.1 An Implementation Of The Result Type
guzzlehttp/guzzle 6.5.5 Guzzle is a PHP HTTP client library
guzzlehttp/promises 1.4.0 Guzzle promises library
guzzlehttp/psr7 1.7.0 PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php v2.0.1 This is the PHP port of Hamcrest Matchers
laminas/laminas-diactoros 2.4.1 PSR HTTP Message implementations
laminas/laminas-zendframework-bridge 1.1.1 Alias legacy ZF class names to Laminas Project equivalents.
laravel/framework v8.11.2 The Laravel Framework.
laravel/telescope v4.2.0 An elegant debug assistant for the Laravel framework.
laravel/tinker v2.4.2 Powerful REPL for the Laravel framework.
laravel/ui v3.0.0 Laravel UI utilities and presets.
league/commonmark 1.5.6 Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Mar...
league/flysystem 1.1.3 Filesystem abstraction: Many filesystems, one API.
league/mime-type-detection 1.5.1 Mime-type detection for Flysystem
mockery/mockery 1.4.2 Mockery is a simple yet flexible PHP mock object framework
moneyphp/money v3.3.1 PHP implementation of Fowler's Money pattern
monolog/monolog 2.1.1 Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy 1.10.1 Create deep copies (clones) of your objects
nesbot/carbon 2.41.3 An API extension for DateTime that supports 281 different languages.
nikic/php-parser v4.10.2 A PHP parser written in PHP
nunomaduro/collision v5.0.2 Cli error handling for console/command-line PHP applications.
nyholm/psr7 1.3.1 A fast PHP7 implementation of PSR-7
omnipay/common v3.0.4 Common components for Omnipay payment processing library
omnipay/stripe dev-master fbf57b3 Stripe driver for the Omnipay payment processing library
opis/closure 3.6.0 A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
paragonie/random_compat v9.99.100 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest 2.0.1 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version 3.0.2 Library for handling version information and constraints
phenx/php-font-lib 0.5.2 A library to read, parse, export and make subsets of different types of font files.
phenx/php-svg-lib v0.3.3 A library to read, parse and export to PDF SVG files.
php-http/discovery 1.12.0 Finds installed HTTPlug implementations and PSR-7 message factories
php-http/guzzle6-adapter v1.1.1 Guzzle 6 HTTP Adapter
php-http/httplug v1.1.0 HTTPlug, the HTTP client abstraction for PHP
php-http/message 1.9.1 HTTP Message related tools
php-http/message-factory v1.0.2 Factory interfaces for PSR-7 HTTP Message
php-http/promise 1.1.0 Promise used for asynchronous HTTP requests
phpdocumentor/reflection-common 2.2.0 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock 5.2.2 With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve...
phpdocumentor/type-resolver 1.4.0 A PSR-5 based resolver of Class names, Types and Structural Element Names
phpoption/phpoption 1.7.5 Option Type for PHP
phpspec/prophecy 1.12.1 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 9.2.0 Library that provides collection, processing, and rendering functionality for PHP code coverage inform...
phpunit/php-file-iterator 3.0.5 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker 3.1.1 Invoke callables with a timeout
phpunit/php-text-template 2.0.3 Simple template engine.
phpunit/php-timer 5.0.2 Utility class for timing
phpunit/phpunit 9.4.2 The PHP Unit Testing framework.
pimple/pimple v3.3.0 Pimple, a simple Dependency Injection Container
psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher 1.0.0 Standard interfaces for event handling.
psr/http-factory 1.0.1 Common interfaces for PSR-7 HTTP message factories
psr/http-message 1.0.1 Common interface for HTTP messages
psr/log 1.1.3 Common interface for logging libraries
psr/simple-cache 1.0.1 Common interfaces for simple caching
psy/psysh v0.10.4 An interactive shell for modern PHP.
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
ramsey/collection 1.1.1 A PHP 7.2+ library for representing and manipulating collections.
ramsey/uuid 4.1.1 A PHP library for generating and working with universally unique identifiers (UUIDs).
sabberworm/php-css-parser 8.3.1 Parser for CSS Files written in PHP
scrivo/highlight.php v9.18.1.3 Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js
sebastian/cli-parser 1.0.1 Library for parsing CLI options
sebastian/code-unit 1.0.7 Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup 2.0.3 Looks up which function or method a line of code belongs to
sebastian/comparator 4.0.5 Provides the functionality to compare PHP values for equality
sebastian/complexity 2.0.1 Library for calculating the complexity of PHP code units
sebastian/diff 4.0.3 Diff implementation
sebastian/environment 5.1.3 Provides functionality to handle HHVM/PHP environments
sebastian/exporter 4.0.3 Provides the functionality to export PHP variables for visualization
sebastian/global-state 5.0.1 Snapshotting of global state
sebastian/lines-of-code 1.0.1 Library for counting the lines of code in PHP source code
sebastian/object-enumerator 4.0.3 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector 2.0.3 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context 4.0.3 Provides functionality to recursively process PHP variables
sebastian/resource-operations 3.0.3 Provides a list of PHP built-in functions that operate on resources
sebastian/type 2.3.0 Collection of value objects that represent the types of the PHP type system
sebastian/version 3.0.2 Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer v6.2.3 Swiftmailer, free feature-rich PHP mailer
symfony/console v5.1.7 Symfony Console Component
symfony/css-selector v5.1.7 Symfony CssSelector Component
symfony/deprecation-contracts v2.2.0 A generic function and convention to trigger deprecation notices
symfony/error-handler v5.1.7 Symfony ErrorHandler Component
symfony/event-dispatcher v5.1.7 Symfony EventDispatcher Component
symfony/event-dispatcher-contracts v2.2.0 Generic abstractions related to dispatching event
symfony/finder v5.1.7 Symfony Finder Component
symfony/http-client-contracts v2.3.1 Generic abstractions related to HTTP clients
symfony/http-foundation v5.1.7 Symfony HttpFoundation Component
symfony/http-kernel v5.1.7 Symfony HttpKernel Component
symfony/mime v5.1.7 A library to manipulate MIME messages
symfony/polyfill-ctype v1.18.1 Symfony polyfill for ctype functions
symfony/polyfill-iconv v1.18.1 Symfony polyfill for the Iconv extension
symfony/polyfill-intl-grapheme v1.18.1 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn v1.18.1 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer v1.18.1 Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring v1.18.1 Symfony polyfill for the Mbstring extension
symfony/polyfill-php70 v1.18.1 Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/polyfill-php72 v1.18.1 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73 v1.18.1 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-php80 v1.18.1 Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/process v5.1.7 Symfony Process Component
symfony/psr-http-message-bridge v2.0.2 PSR HTTP message bridge
symfony/routing v5.1.7 Symfony Routing Component
symfony/service-contracts v2.2.0 Generic abstractions related to writing services
symfony/string v5.1.7 Symfony String component
symfony/translation v5.1.7 Symfony Translation Component
symfony/translation-contracts v2.3.0 Generic abstractions related to translation
symfony/var-dumper v5.1.7 Symfony mechanism for exploring and dumping PHP variables
symfony/yaml v5.1.7 Symfony Yaml Component
tecnickcom/tcpdf 6.3.5 TCPDF is a PHP class for generating PDF documents and barcodes.
theseer/tokenizer 1.2.0 A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles 2.2.3 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with i...
vlucas/phpdotenv v5.2.0 Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
voku/portable-ascii 1.5.3 Portable ASCII library - performance optimized (ascii) string functions for php.
webmozart/assert 1.9.1 Assertions to validate method input/output with nice error messages.

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

Re: Stripe no longer working

Post by aimeos » 26 Oct 2020, 11:47

Can you please try this fork?
https://github.com/aimeoscom/ai-payments

If it works, we have to see what has changed in the Omnipay Stripe driver.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

flomo
Posts: 52
Joined: 26 Sep 2019, 15:11

Re: Stripe no longer working

Post by flomo » 26 Oct 2020, 19:49

Not sure which fork you mean. Your link points to the official aimeos/ai-payments package, which I have already installed.

I switched to dev-master for aimeos/aimeos-laravel and aimeos/ai-payments, but that didn't help. Still the same error.

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

Re: Stripe no longer working

Post by aimeos » 27 Oct 2020, 07:26

Sorry, this is the correct link:
https://github.com/aimeoscom/omnipay-stripe
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply