No all user field data saved upon returning from PayFast after checkout.
Closed this issue · 8 comments
When a user checks out for a level with multiple user fields created with code not all user field data is saved upon returning from PayFast after a successful checkout.
To Reproduce
- Create multiple user fields with code consisting of various text, textarea, and grouped checkboxes and add the code to a customization plugin.
- Set Payment Gateway to PayFast
- Check out for level
- Verify which field's data was saved in either the user profile or the
wp_usermeta
table.
Additional Notes
During testing the first two required text field types, e.g. first_name, and last_name, and grouped-checkbox field types were successfully captured and saved but the remaining text and textarea field types were not saved.
Moderators Only: #452405
A user reported that after uninstalling the customization plugin with the code for custom fields and adding the code to a third-party code plugin their custom user fields were captured successfully after checkout.
While testing this in a live testing environment it could not be replicated and the issue of only some fields being captured persisted.
I am the user referred to above. The problem is not fixed. The additional fields do not display if a payment is required, eg PayFast, as referred to in the original post.
I am really needing a fix for this but don't have the knowledge to do it myself.
Hoping someone out there can help please.
We are looking into this issue @Bridget411, unfortunately I don't have a timeframe when this will be released or available.
Thank you for your patience.
@Bridget411 we have just created a Pull Request for this and still testing it before being merged. I know this is important to you, you may test this out on your site by applying this code change to your site -> #87
Please open a support ticket on https://www.paidmembershipspro.com/support and someone from our team would be able to assist you to implement this code onto your site.
A release should be available in the next couple of days.
@Bridget411, we have just released v1.4 of PayFast and this is included in the fix. Please update your plugin to the latest version and let us know if you run into any issues.
Thank you once again for your patience.