magento2 – Magento 2.3.3 showing Pending Payment status after successful order complete

I have configured Website Payments Pro Hosted Solution in magento 2.3.3 for paypal and card payment methods.

When placing an order using paypal, once the order is successful, order status changing to processing.

But when placing an order using card payments, once the order is successful, status is not changing to processing still it shows Pending Payment.

Any help on this issue?