Closed (fixed)
Project:
Commerce Omnikassa (Rabo Smart Pay)
Version:
8.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2020 at 08:12 UTC
Updated:
24 Feb 2020 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joshahubbers commentedI did some testing, and on the testing endpoint all methods seem to work. In this patch I made the implementation to add the option to the payment-provider settings to be able to select which options can be chosen.
Next is to add a select to the checkout screen. I have done some digging, but this is not a simple task. Maybe a form alter.
Comment #3
joshahubbers commentedAfter a lot of fiddling around, I managed to complete this task. The behaviour is as follows:
- You can configurate the available payment methods in the provider config
- When only one payment method is available checkout redirects to the payment provider directly
- When the option CARDS is chosen checkout redirects to the payment provider directly (card type is chosen there)
- When the option EXTERNAL is chosen checkout redirects to the payment provider directly (payment is chosen there)
- When multiple options (but not EXTERNAL) ar available an extra checkout step is available in which the payment method is chosen
Comment #4
joshahubbers commentedCommitted this patch to the module.