It would be interesting to have a means of payment default, such as cash.
You have not select the payment method, which appears deployed.

Excuse my English.

Comments

kovaski created an issue. See original summary.

kovaski’s picture

Version: 7.x-2.x-dev » 7.x-2.0-beta7
dylf’s picture

Category: Feature request » Support request

If you enable commerce_pos_payment there should be some default payments set up.

kovaski’s picture

By moving to the payment screen you have to give cash to the button with the mouse so you can continue with the payment. To avoid steps that would be interesting to come out automatically pressed the button of cash.
I hope I explained ... Thanks.

Scott Robertson’s picture

@kovaski yeah that makes sense. It shouldn't be too difficult to put a setting somewhere for the default payment method. I believe there's already a function we can call to get a list of all the payment methods, so we can just chuck it onto one of the existing settings pages.

TylerMarshall’s picture

StatusFileSize
new2.94 KB

Uploaded a patch that provides a setting in Terminal (not sure if this is the best place for it) to set the default payment.

TylerMarshall’s picture

Status: Active » Needs review
TylerMarshall’s picture

StatusFileSize
new3.52 KB

Updates position of Default payment setting. (Moved from Terminal module to commerce_pos module)

smccabe’s picture

Status: Needs review » Needs work

Overall patch works as expected, couple notes.

  • We should probably have the option to default to "none" so that the payment option always has to be selected.
  • If you remove the payment option you have as the default, you will get a drupal error, it should probably just fall back to "none" when this happens instead of an Undefined Index error
Anonymous’s picture

Status: Needs work » Needs review
StatusFileSize
new8.5 KB

Adding a new Patch with Shawn's suggestions put in. PR: https://github.com/AcroMedia/commerce_pos/pull/26

  • smccabe committed 8824ae3 on 7.x-2.x authored by wildkatana
    Issue #2800535 by Tyler_Marshall, wildkatana, kovaski, Scott Robertson,...
smccabe’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.