Forum Replies Created
-
AuthorPosts
-
Ashley TParticipant
Not sure if it’s an update issue or what, but the form edit screen isn’t saving all of the customizations I’ve made anymore. Each time I click away from the edit form screen and come back, it’s back to the default fields 🙁
Ashley TParticipantThanks for the suggestion! I made the change, but now my form isn’t passing my through to Paypal at all. Paypal gateway is still enabled and set to “live,” and when I edit my form, the Paypal stuff is there. The credit card and Paypal logos are NOT displaying on the live form, and the “Submit” button is creating the user, just not requiring a payment to do so 🙁
Ashley TParticipantI’m also working on a plugin that will create a draft post when a user registers. Tried using
pie_register_after_register
as suggested in this thread, but it’s still not wanting to work.I’ve narrowed it down to having the Paypal active and installed on the reg form. Draft post is created as expected without the Paypal gateway active. As soon as I activate and register another test user…no draft post.
I started my own topic on this, but haven’t had any bites yet. Any help is appreciated! My code is as follows:
add_action( 'pie_register_after_register', 'restaurant_profile_create', 10, 1 ); function restaurant_profile_create( $user_id ) { // Get user info $user_meta = get_user_meta( $user_id, 'pie_text_7', true ); // Create a new post $user_post = array( 'post_author' => $user_id, 'post_title' => $user_meta, 'post_content' => print_r( $user_meta, true ), 'post_type' => 'post', ); // Insert the post into the database $post_id = wp_insert_post( $user_post ); }
-
AuthorPosts