I have created the new feature into OpenEMR for online payment using square API and it has integrated successfully into the OpenEMR. Users can do the patient payment online using cards and we keep their payment record into the DB.
@kjnelan I had implemented this feature with one of client and if you want I can implement it please let me know I will do it for you I can not send the code directly to community unless I have the permission for it.