Now that you can so easily buy the TIW discount card on site, there's really no advantage to buying the AP or PAP online or in advance unless:
1. You think the price will go up before your trip.
2. You have several to buy and want to spread the cost out over the course of several months. (You can do this by just saving the money ahead of time, too).