Hello,
According to your requirement, you want to fix errors of paypal payment gateway and credit cards.. Both are not working, Please come in chat box and share your full requirements then we can start this project..
I am waiting in chat box
Thank You