Title: Paypal &amp; validation issues
Last modified: May 25, 2017

---

# Paypal & validation issues

 *  Resolved [costelc](https://wordpress.org/support/users/costelc/)
 * (@costelc)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/)
 * Hello,
 * I’m another disappointed user of the free Woo Braintree plugin that wants to 
   purchase yours 🙂 I have tested the sandbox version but I have some questions:
 * 1. What is the expected Paypal flow? If Paypal is selected and Place Order is
   pressed nothing happens, not even a message warning it has to press the other
   button first. Can’t we make the normal Place Order to act like the inline Paypal
   button?
 * 2. There seem to be validation issues: if user has an invalid form, presses the
   Paypal button, makes the payment, then he is shown validation errors. But after
   he corrects errors, there’s no way to continue the process. The only way I found
   it to be working was to click cancel of the payment, then press Paypal again 
   and make the payment – and then of course another validation error if you still
   made an error (like invalid postcode or something). This is of course absurd 
   and can’t be expected to be followed by a visitor. What’s the actual solution
   in this case?
 * 3. To solve all above, can we maybe force the Place Order button to always validate?
 * Waiting for a quick reply, our shop is live and missing clients.
 * Thank you

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

 *  Thread Starter [costelc](https://wordpress.org/support/users/costelc/)
 * (@costelc)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9177511)
 * Any news? Sorry to insist, but I want to know this before buying the plugin, 
   and it’s urgent for me, we have a shop with payment issues.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9202378)
 * Hello [@costelc](https://wordpress.org/support/users/costelc/),
 * Apologies for the late reply, the WordPress.org site did not show an open item
   in the support section.
 * There are two types of validations, the first being client side validations. 
   Those occur when you click the PayPal button and the customer enters their PayPal
   information. The second level of validations occur server side and are done when
   your site is communicating with Braintree and processing the payment.
 * 1. The expected flow is the user selects the PayPal gateway option and clicks
   the PayPal button. Upon successful validation, a payment element appears notifying
   the customer that they can proceed. You can also elect to have the PayPal element
   submit the form automatically which means the customer doesn’t have to click 
   the place order.
 * 2. We will take a look at improving the flow but sorry you feel it’s absurd 🙂
   
   3. By the time place order is placed all necessary client side validations for
   PayPal have been performed. It’s not up to our plugin to validate the WooCommerce
   billing and shipping fields.
 * Kind Regards,
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9202402)
 * [@costelc](https://wordpress.org/support/users/costelc/),
 * In the future, please contact [support@paymentplugins.com](https://wordpress.org/support/topic/paypal-validation-issues/support@paymentplugins.com?output_format=md)
   for a quicker response time and for any questions regarding the Pro version of
   the plugin. In order to comply with the WordPress rules regarding answering support
   questions for a paid plugin it’s best that you contact us via our support channels.
 * Kind Regards,
    -  This reply was modified 9 years ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9202614)
 * Hi [@costelc](https://wordpress.org/support/users/costelc/),
 * I reviewed the PayPal checkout flow with the team and we all agree the flow should
   include making the Place Order button trigger the PayPal Checkout if the customer
   doesn’t know to click the PayPal Gateway button that is shown. You can expect
   that change in the next release.
 * Kind Regards,
    Payment Plugins
 *  Thread Starter [costelc](https://wordpress.org/support/users/costelc/)
 * (@costelc)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9204648)
 * Hello,
 * Thanks for considering and agreeing to implement my suggestion. In my opinion
   all your clients would benefit for a more logical flow this way.
 * If it’s not too much trouble I would appreciate a short buzz after this is implemented
   to test again.
 * Thanks,
    Costel
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9205945)
 * Hi [@costelc](https://wordpress.org/support/users/costelc/),
 * The change was released yesterday 6/6/17 as part of version 2.6.11 so you can
   now test the new flow. Please let us know via our support email if you have any
   feedback.
 * Kind Regards,
 *  Thread Starter [costelc](https://wordpress.org/support/users/costelc/)
 * (@costelc)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9219018)
 * Hi,
 * Thanks for informing. I’ve tested the new version, and I have a question: now
   when I select Paypal I see the button change to “Checkout with paypal”, clicking
   on it correctly opens the Paypal payment. But if I make the payment and I still
   have validation problems (eg. address), that paypal payment section appears as
   white, then quickly disappears:
    [http://prntscr.com/firdqc/direct](http://prntscr.com/firdqc/direct)
   and validation errors appear. Now if I correct (or not) and click Checkout again,
   the Paypal popup opens again asking for the payment. In a live setup, wouldn’t
   this mean paying twice?
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9221479)
 * Hello [@costelc](https://wordpress.org/support/users/costelc/),
 * No, the payment element clears because you have a validation error and thus the
   customer must perform the PayPal checkout process again. Payment is only processed
   once the plugin’s payment code is called, which would not be called if there 
   were validation errors.
 * Please test and confirm for yourself.
 * Thanks,

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

The topic ‘Paypal & validation issues’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

## Tags

 * [paypal](https://wordpress.org/support/topic-tag/paypal/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 8 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/paypal-validation-issues/#post-9221479)
 * Status: resolved