We have created a contribution form in civicrm, after user submits and when we manually add the payment, it's not changing status to new from pending in membership, earlier it was working well, we have facing the problem since we have migrated to the new server, we have setup crm in Wordpress. We are unable to figure out what could have gone wrong as we have checked all the settings but they are exactly same as previous servers settings. we have also imported the same database form previous server and exported in new.
Edited:
So We have created an contribution form in civicrm. the flow goes as follows:
User fills the application form,
Once the application form submitted then admin verifies, changes the membership status to verified form pending manually,
User gets the verified email and does the offline payment(it's clients requirement to do offline payment).
Once the payment is verified then admin adds the payment details in contribution payment section.
Once the contribution status is completed then membership should assign and status should be automatically set to the new : this step was earlier working fine in old server but in current server it's not updating the status and also membership is not getting assigned to the user...everything else is working fine also the status is reverting back to the pending instead of new.
We are using wordpress version 5.9.3, Civicrm: Version 5.29.1 server php version 7.4