Skip Payment Step

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
jfr
Posts: 9
Joined: 16 Sep 2015, 16:08

Skip Payment Step

Post by jfr » 16 Sep 2015, 16:17

Hey Aimeos Team,
we'd like to use the system in a scenario without payment options (just to request a quote).
We already switched off the service steps and configured the "ServicesAvailable" plugin to not request a payment option.
The configured process works fine until the user hits the order step after confirming the summary. The system just displays an empty page with the heading "Order" (URL: checkout/?ai%5Bcontroller%5D=checkout&ai%5Baction%5D=index&ai%5Bc_step%5D=order)
Problem: the system seems to expect a payment option to redirect to the confirmation page, or maybe our subpart configuration* is wrong Is there a way to configure the process to move to the confirmation page directly after confirming the summary without payment redirection?

*TYPO3 subpart configuration currently is:

Code: Select all

plugin.tx_aimeos.settings.client.html.checkout.standard.default.subparts  {
  0 = address
  1 = summary
  2 = order
}

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

Re: Skip Payment Step

Post by aimeos » 16 Sep 2015, 20:32

jfr wrote: Problem: the system seems to expect a payment option to redirect to the confirmation page, or maybe our subpart configuration* is wrong Is there a way to configure the process to move to the confirmation page directly after confirming the summary without payment redirection?

*TYPO3 subpart configuration currently is:

Code: Select all

plugin.tx_aimeos.settings.client.html.checkout.standard.default.subparts  {
  0 = address
  1 = summary
  2 = order
}
Add

Code: Select all

3 = process
to your subparts. Then it should work with the latest release.

jfr
Posts: 9
Joined: 16 Sep 2015, 16:08

Re: Skip Payment Step

Post by jfr » 17 Sep 2015, 13:25

Thanks, with the process step added the system now displays the payment snippet with a continue button that leads to the confirmation page - although this will still throw an error because of an invalid service. Is there a configurable way to skip the necessary click of a button?

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

Re: Skip Payment Step

Post by aimeos » 17 Sep 2015, 21:55

jfr wrote:Thanks, with the process step added the system now displays the payment snippet with a continue button that leads to the confirmation page - although this will still throw an error because of an invalid service. Is there a configurable way to skip the necessary click of a button?
The problem of the error message in the checkout confirm component is fixed now in the latest core and will be part of the next release in October. Thanks for the hint!

For the checkout/progress subpart:
If Javascript is enabled, the customer is redirected to the checkout/confirm page automatically. If you are absolutely sure that JS in the browser of the user is enabled, you can replace the progress-body-default.html template with an empty one so nothing payment related will be shown until the redirect happens.

Post Reply