All articles

A WooCommerce address change has to finish the payments already started

Changing permalinks, a hostname or HTTPS routing can affect more than storefront pages. Preserve the supported payment callback, customer return and recovery paths through the change.

In this article

The new address opens correctly. Product links work, the checkout looks familiar, and an old bookmark reaches the new site. Those are useful results after a move to HTTPS or a change to the store’s URL rules. They do not yet show that the payment connection has followed the store.

A customer may already be completing a purchase when the change takes effect. The merchant still owes that customer a clear outcome. Plan the address change around that unfinished conversation as well as the pages a new visitor will see.

The storefront is only one destination

A payment integration can involve the checkout the customer sees, a browser return address and an address that receives payment notifications. These serve different purposes. Opening the home page in a browser does not establish that the payment provider can deliver the message the order needs.

WooCommerce documents a Plugin API callback mechanism, but its example is not a universal address for every gateway. Have the maintainer identify the exact callback or webhook used by the installed integration and how it is registered. A permalink change, a hostname change and a move to HTTPS are different changes; establish which actual destination each one affects.

For the Visa Acceptance Solutions connection described in Trolleys’ WooCommerce guide, saving the settings includes checking for Registered Webhooks. That is a concrete setup check for this connection. It does not mean any copied callback URL, or the registration process for another payment plugin, is appropriate.

Give the hosting and payment teams the same proposed destination. Confirm how the installed plugin and provider support changing it. A redirect that helps a shopper find a page is insufficient evidence that an authenticated payment notification will be delivered and processed correctly.

HTTPS needs a coherent purchase journey

WooCommerce recommends HTTPS across the store and documents updating the WordPress and site addresses when setting it up. It also identifies insecure resource links and redirect loops as possible problems, including cases involving a proxy. The host should check the actual configuration rather than adding competing redirect rules until one page appears to work.

Follow a customer from a product into the cart, through shipping and payment, and back to the order result. Include a returning visitor using an earlier link. Check the purchase details and session along the way. A fresh empty cart reaching checkout says little about the shopper who already had goods selected.

If a session cannot continue safely, provide a clear recovery route. Rebuilding a cart is a customer experience decision; asking for another payment depends on the outcome of the first attempt. Keep those decisions separate. Our article on WooCommerce cart and session problems examines that distinction in the purchase itself.

Keep earlier attempts in the handoff

Before changing the connection, identify purchases awaiting a payment result and agree who will review them. Ask the provider and maintainer how their supported migration handles messages or browser returns associated with the previous address. Do not assume a new registration automatically transfers earlier work.

Suppose the gateway has collected a payment, but its notification reaches an address that now shows a maintenance page. The order may still appear unpaid. Replacing that order and asking the customer to pay again would turn a delivery problem into a possible second collection.

Trace the original payment through the correct account, reference, amount and currency. Establish whether it was authorized, captured or unsuccessful before deciding the next customer action. Preserve unresolved attempts for investigation. Do not weaken notification authentication to make an address change appear successful.

Verify the message and the resulting order

The acceptance evidence should connect a supported test purchase to the provider’s result, the notification delivery where applicable and the intended order update. Check the browser return separately. Neither a reassuring page nor an accepted message alone proves the whole purchase finished.

After the approved change, assign someone to review the earlier unresolved orders and the first new purchases. Record which addresses and settings were accepted, together with the person responsible for any remaining exception. The change is ready to close when the store can explain both groups of purchases, including any still awaiting a verified outcome.