woocommerce / woocommerce-gateway-paypal-express-checkout

58 stars 65 forks source link

Replace the middleware URL from `connect.woocommerce.com` to `api.woocommerce.com/integrations` #896

Closed ibndawood closed 2 months ago

ibndawood commented 7 months ago

The connect.woocommerce.com server is due to be retired. The api.woocommerce.com server now provides the connect service. The base URL will now be api.woocommerce.com/integrations. All other endpoints should now be accessible from the base URL.

Endpoints

wjrosa commented 2 months ago

I have created a new instance of WooCommerce and installed the plugin. Then, I manually changed the base URL for the new one above (/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php#12) and tested the authentication endpoints (/login and /auth) using my PayPal account with the help of @ibndawood. Everything worked as expected. As for the other endpoints, I could not find any reference to them on the extension code. But I tested those manually using Postman and got the expected result (400 status, not implemented).

ibndawood commented 2 months ago

Thank you, @wjrosa, for testing the endpoints.

ibndawood commented 2 months ago

All endpoints post rewrite tests well.