Switch "Online Pay now" functionality to payment create API
Overview
The Online Pay now functionality where a user can pay towards a contribution still used the old way of recording a payment. The new record payment form is currently only a backend form.
It would be very helpful if the Pay Now switches to use that form but in a frontend user exposed way.
This will help customers to pay via the dashboard and checksum link. Also this will enable frontend customer payments towards partial paid contributions.
Example use-case
- Go to user dashboard
- Pay a contribution with status pending (status partially paid has no Pay button atm)
- The contribution is handles via a contribution page and not the record payment form
Current behaviour
Online Pay now by user dashboard button or checksum link do not user payment create api
Proposed behaviour
Let the (frontend) Pay now use the record payment form but in a frontend way with live payment processors.
Comments
References to relevant issues and PR's:
https://github.com/civicrm/civicrm-core/pull/12319
https://github.com/civicrm/civicrm-core/pull/14673