pronamic / wp-pay-core

Core components for the WordPress payment processing library. This library is used in the WordPress plugin Pronamic Pay: https://www.pronamicpay.com/, but also allows other plugin developers to set up a payment plugin.
https://www.wp-pay.org/
GNU General Public License v3.0
27 stars 3 forks source link

Built-in forms creating new WordPress users #115

Closed rvdsteege closed 1 year ago

rvdsteege commented 1 year ago

From customer:

I am testing the Pronamic Pay plugin. I see that a payer is also registered as a user of the WordPress website. I don't like this at all.

The built-in forms indeed creates a new WordPress user and connects the payment to this user:

Returning null in for example the wp_pre_insert_user_data filter (for new users with role payer) would result in the user not being added. However, this is currently not supported and will result in an exception being thrown and the user not being redirected for payment.

As there is not much use in adding the new users, we could also decide to remove this completely.

Internal Help Scout ticket: https://secure.helpscout.net/conversation/2188319665/25365/