Your checkout uses paypal payments pro, checkout with credit card uses the PayPa; Direct Payments API, not the PayFlow Pro api. you should not be using the payflow pro response bindings.
open the bindings panel, click the plus button and go to eCart -> Checkout -> Local Checkout Response.
from the list of Gateways select PayPal Direct Payment.
use the paypal direct payment bindings on your page to write the response, not the payflow pro bindings.