Pro payments do not work in magento2.1.7?

I've integrated the payment method Payments Pro into my magento2.1.7 site.

Refer to the screen capture.

enter the description of the image here

I referenced this link to integrate Payments Pro https://docs.magento.com/m2/ce/user_guide/payment/paypal-payments-pro.html.

With debit or credit, it works and I can see the amount of the transaction in the merchant account.

But when I click on Paypal, it is redirected to the payment basket page. Please help.

Any help would be appreciated.