Upgrading from Odoo v17 to v18 the notes from Odoo mention that the PayPal version has been updated and to use the new configuration. Aside from the fact that one of the steps in the instruction seems to be out of order (see below), there doesn't seem to be any instructions for existing customers upgrading form a previous version. I'm not sure PayPal even has a document for that.
Instructions for using the new PayPal API with webhooks
https://www.odoo.com/documentation/18.0/applications/finance/payment_providers/paypal.html
In the Credentials tab, enter the Email linked to your PayPal account, then fill in the Client ID and Client Secret fields with the values you saved at the step Configuration in PayPal.
Click Generate your webhook to create the Webhook ID. (I couldn't do this until after enabling the payment method; step 4.)
Set the State field to Enabled, and make sure the PayPal payment provider is Published.
Configure the remaining options as desired.
I followed these steps, but my PayPal account settings are still configured for the old Instant Payment Notification (IPN) and Payment Data Transfer (PDT) settings. It would be nice if the Odoo page linked above mentioned steps for migration from the old PayPal API to the new one.
I received an email from PayPal letting me know that IPN could no longer communicate with my website (after the Odoo upgrade). I tried searching on Google, hoping to find a guide from PayPal, but none materialized. After some careful search wordsmithing, the AI tools produced the following.
- Log in to your PayPal account and go to Website payment preferences under Selling tools.
- Turn off Payment Data Transfer.
- Go to Instant Payment Notification settings and turn it off.
These instructions do not mention Auto Return (a URL to return the customer to after checkout). If anybody can shed some light on any steps I might have missed or given incorrectly, please do. Thank you.