1.0 Problem/Motivation
It would appear that the Contribution Tab setting payment process id does not persist if test mode is set to test.
2.0 Detailed steps to reproduce (embed screenshots)
- Create a webform.
- Add contact fields including email.
- Add contribution.
- Select a payment processor.
- Save
- Set test mode
- Reload the CiviCRM settings contribution tab.
- Check build tab - no payment processor id field.
- Select 'test mode'
- save
- Check build tab - no payment processor id field.
- Reload CiviCRM settings Contribution tab
- Reload CiviCRM settings contribution tab
- notice that now we have payment processor set to user select!
- save
- Status messages:
-
- Added one field to the form
- Added field: Payment Processor
- We now get the payment processor id field on the build page.
We loaded the CiviCRM settings and didn't change anything then saved. This should be a no operation but is not.
WIP test to confirm the above here:
https://github.com/colemanw/webform_civicrm/pull/1073
3.0 Proposed resolution
4.0 Submit PR on https://github.com/colemanw/webform_civicrm
Comments
Comment #2
luke.stewart commentedFormatting fix.
Comment #3
karingFixed with https://github.com/colemanw/webform_civicrm/pull/1075