payments scaffold and paypal api handler