Skipping payment provider in checkout

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!
brunojti
Posts: 27
Joined: 29 Jul 2016, 14:02

Skipping payment provider in checkout

Post by brunojti » 26 Aug 2016, 12:03

Hey there.

My shop will have only one payment provider and I'd like to remove this step from checkout process.

I have changed my config/shop file:

Code: Select all

 'client' => array(
        'html' => array(
            'common' => array(
                'content' => array(// 'baseurl' => '/',
                ),
                'template' => array(// 'baseurl' => 'packages/aimeos/shop/elegance',
                ),
            ),
            'checkout' => array(
                'standard' => array(
                    'standard' => array(
                        'subparts' => array('address', 'delivery', 'summary', 'order', 'process')
                    )
                )
            )
        ),
    ),
but an error pops up when I try to finish the order saying that I have no payment option.

How can I set a payment option as default?

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

Re: Skipping payment provider in checkout

Post by aimeos » 26 Aug 2016, 13:30

You can configure the "Autofill" basket plugin in the "Plugin" tab of the expert mode admin interface (autofill.payment: 1)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

brunojti
Posts: 27
Joined: 29 Jul 2016, 14:02

Re: Skipping payment provider in checkout

Post by brunojti » 26 Aug 2016, 13:54

AWESOME!

Thanks ;D

xarga
Posts: 43
Joined: 16 Dec 2019, 22:54

Re: Skipping payment provider in checkout

Post by xarga » 12 May 2020, 21:53

Aimeos 2019.10 dev
Laravel 6
php 7.2

I'm still getting the error that the payment method is missing once I get to stripe payment process

I've set the Autofill basket plugin to (autofill.payment: 1)

And set my shop.php config as follows:

Code: Select all

  'checkout' => [
                    'standard'=> [
                        'standard'=> [
                            'subparts'=>[
                                'address','delivery','summary', 'process'
                            ],
                        ],
...
Any ideas why this could be happening?

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

Re: Skipping payment provider in checkout

Post by aimeos » 14 May 2020, 15:22

You get that error because the ServicesAvailable basket plugin is active and you seem to have no payment service in your basket despite of your Autofill configuration. Is there a payment option unrestricted by decorators available in the service panel?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply