woonuxt
woonuxt copied to clipboard
How to implement Paypal payment?
Hi im try to implement Paypal payment method in sandbox test mode but when im try to click paypal button in cart woonuxt client then redirect to wordpress site and cancel order?
im already debug in useCheckout.is at checkout?.result variable it return failure
i try to click paypal button in
im see on example site paymentMethod is "paypal" but im debug my site is ppcp-gateway??? it is problem not redirect to paypal gateway or not?
Anyone can help me
Here are my settings. It might help. The Frontend URL is important for the Paypal redirect.
And my PayPal setting is like this.
Hope that helps.
Thanks for you reply @scottyzen what version of WooCommerce PayPal Payments becuase i check with your picture they different my Version is 2.0.4
@scottyzen please try with WooCommerce PayPal Payments i think you will see this error
For now. It only supports the older default PayPal extension. Not the PayPal Payments Plugin.
@scottyzen How i can use Paypal Standard on Woo Version 7.7.0 and WordPress 6.2.2 becuase in payment setting on woo setting missing Paypal Standard ??
I find solution for solved this problem sinc WooCommerce V 5.5 they hide paypal standard if need to open can edit file at Plugins --> woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php at line around 515 and add this [ add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' ); ]
Thanks for help bro
@scottyzen why when return to merchant from paypal gateway woonuxt return error This page can’t be found need to refresh one time??
This problem i see only in Chrome both PC , Mobile but Safari not have any problem
@Gypsy-147 are you still seeing this issue?
@scottyzen is this still under development? Can't we use stripe's paypal integration instead?
@scottyzen is this still under development? Can't we use stripe's paypal integration instead?
With stripe you can enable anything you want.
Commits are still coming as of yesterday. Have you tested? Last I asked if this was still an issue and received no reply. Are you seeing an issue with paypal @alexookah ??
@scottyzen I have enabled paypal in stripe but I dont see it as a payment option. Check it out here
@scottyzen
<icon v-else-if="gateway.id === 'paypal'" name="ion:logo-paypal" size="20" class="text-gray-600" />
Is this paypal
gateway being used from stripe or woocomerce-paypal plugin?
it seems stripe doesnt yet show paypal through woocomerce plugin. and reading the thread paypal is hidden need some custom override some php file.
Why is not possible to use PayPal Payments Plugin
?
@scottyzen i was thinking to implement the paypal buttons similarly like stripe has been implemented. maybe use nuxt/paypal which seems quite easy to implement. Because stripe doesnt support paypal through their library. And redirect with paypal standart is not ideal I would say.
as UX something like this (since paypal needs to render it's own paypal-buttons):
https://github.com/scottyzen/woonuxt/assets/9624843/1c7d05db-5e99-4590-b47b-06fa337bb9be
What do you think? Should we include this in the base?
@scottyzen Can you please give your opinion on this?
@scottyzen I saw you updated & improved the paypal standard in the base. I tried it and I noticed that clicking cancel / closing the window creates the order. Could this be fixed?
I added this code to my functions.php file inside my theme: add_filter('woocommerce_should_load_paypal_standard', '__return_true'); but I can't see PayPal Standard in my payment settings. Do you have any advice?
What problem do you have @diegomassaroo ?
The latest paypal plugin also works with wooNuxt if you have enabled it
I can't see the PayPal Standard option in my payment settings, and I can't figure out why
Install this https://woocommerce.com/products/woocommerce-paypal-payments/ It should also work!
Unfortunately if I activate the plugin can't load the graphQL schema because it don't obtain introspection result