News:

Looking for documentation? Take a look on our wiki

Main Menu

PayPal Checkout 4.4.2

Started by sirius, December 18, 2024, 16:32:36 PM

Previous topic - Next topic

sirius

Hi
There's a non translated sentence in the PayPal Checkout configuration.
VMPAYMENT_PAYPAL_ORDERDONE_ITEMID

Does anyone knows the exact purpose of this parameter ?  ???
(I suppose the menu ID of the thanks you page ?)

thanks
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

Jumbo!

If you have a menu item for the order done page, select it here to redirect the URL correctly.

sirius

thanks Jumbo,

ok but as I use your VP Conversion Tracking with the Order Confirmation Page set to "Thank You Page VPTC"

So I'm not sure how to deal with...
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

Jumbo!

Quote from: sirius on December 19, 2024, 16:23:35 PMthanks Jumbo,

ok but as I use your VP Conversion Tracking with the Order Confirmation Page set to "Thank You Page VPTC"

So I'm not sure how to deal with...

You can leave it as is since you use the Thank You Page of the VP Conversion Tracking plugin. 😊

sirius

ok Jumbo :D

But maybe I'll open a ticket on VP because, I'm currently doing some tests in sandbox mode for this PayPal Checkout but after a payment I can't get to the thank you page, and despite the PayPal payment being validated, the order status does not change to Confirmed as specified in the PayPal plugin configuration and remains pending.
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

Jumbo!

Yes, you can post your questions in the Virtueplanet forum.

But before that, you must ensure that the PayPal Checkout is working correctly. Turn off the VP Conversion Tracking plugin and check if you see the standard order confirmation page and the cart is cleared after the payment.

sirius

J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

sirius

#7
VP Conversion Tracking set to OFF
Sandbox test payment with test buyer account, seems ok but, no I do not get the standard order confirmation page  :-\
New order was created with status on pending
The link called is : component/virtuemart/plugin?name=paypal_checkout&task=ordercompleted&vmtype=vmpayment

And the error message is :
Announcement
"We did not find this category"

And found this in the paypal_checkout.log.php file
2024-12-23 10:12:37 THERE WAS AN ERROR GET/POST HTTPS://api-m.sandbox.paypal.com/V2/CHECKOUT/ORDERS/5DXXXXXXX2H/CAPTURE CODE: 422

So seems not good at all...

J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

Jumbo!

The PayPal Checkout plugin is not functioning correctly on your site, likely due to an issue with the SEF URLs. We must first resolve this problem to ensure the VP Conversion Tracking plugin works correctly.

Could you please provide the versions of Joomla and VirtueMart that you are using?

sirius

J3.10.12
VM 4.4.2 11100

I must say that I've created two more sandbox test account based in France.
And for this new one, still no confirmation order page, but got the category page of the product.
And the status order is set to "Confirmed by customer"
(on the order backend paypal information state : Payment status PAYER_ACTION_REQUIRED)

But with the same account just done another test but on gust mode, and so same behaviour, no confirmed page et order status still on pending.
(on the order backend paypal information appear twice and state first : Payment status PAYER_ACTION_REQUIRED
then Payment status APPROVED)
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

sirius

More information on this
Obviously, it was indeed the SEF that was causing the problem.
I simply disabled the URL optimization of sh404 and now all sandbox payments work correctly.
And so I have the display of the confirmed order pages as well as the standard one of VP Conversion Tracking.

Now I need to deal with that situation, but as I will try to migrate to J5 too and probably only use the default SEF system from joomla.

Any advice Jumbo ?
Anyway, thanks for pointing me in the right direction.
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

Jumbo!

You are welcome. I am glad that I could help you.

I believe it's best to remain with the core SEF system.