Title: Error when verifying payment
Last modified: March 23, 2022

---

# Error when verifying payment

 *  Resolved [natewolf7](https://wordpress.org/support/users/natewolf7/)
 * (@natewolf7)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-when-verifying-payment/)
 * Please help asap, Ukraine fundraiser launching tomorrow and will be on the news!!!
   can’t have a broken payment form!!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-verifying-payment%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-when-verifying-payment/#post-15491488)
 * Hi [@natewolf7](https://wordpress.org/support/users/natewolf7/),
 * Could you please try the following snippet and then check whether it works fine?
 *     ```
       <?php
   
       add_action( 'forminator_paypal_create_order_request', function( $request, $data ) {
       	if ( isset( $request['payer'] ) && empty( $request['payer'] ) ) {
       		unset( $request['payer'] );
       	}
       	return $request;
       }, 10, 2 );
       ```
   
 * You can implement the above code as a mu-plugins. Please check this link on how
   to implement the above code as a mu-plugins:
    [https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins](https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins)
 * If the above code doesn’t help and the issue is still the same then I’m afraid
   we’ll need the export of the form in order to further investigate what might 
   be causing it.
 * Please check the following doc on how to export a form:
    [https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export](https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export)
 * You can share the export file via Google Drive, Dropbox or via any such cloud
   services in the following reply.
 * We are looking forward to your response.
 * Kind Regards,
    Nithin
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-when-verifying-payment/#post-15514727)
 * Hello [@natewolf7](https://wordpress.org/support/users/natewolf7/) ,
 * We haven’t heard from you for some time now, so it looks like you don’t need 
   our assistance anymore.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when verifying payment’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/error-when-verifying-payment/#post-15514727)
 * Status: resolved