woocommerce / woocommerce-gateway-paypal-express-checkout

58 stars 65 forks source link

Add filter for SDK script arguements #762

Closed kminderhout closed 4 years ago

kminderhout commented 4 years ago

Description

I added a filter that allows users to change the query parameters sent to the PayPal SDK. This allows changing the 'commit' key to a value of 'true' and enable bypassing of the review process during the checkout flow, which depending on store needs can create an improved customer experience.

Steps to test:

Doesn't alter any functionality. Used as normal and no change. Implemented filter in my website and works perfectly for bypassing review process.

Documentation

Possibly. This would be useful for store owners wishing to bypass the review process and complete checkout with PayPal.

Closes # .