Enabling Apple Pay on the Web

You can enable Apple Pay on the Web either by using the Accelerator assets, or by installing Mod Pack 4.

The Accelerator assets are sample assets that are provided to you as is, as file downloads and documentation provided in the Knowledge Center. The Accelerator assets contain storefront and backend assets to help you integrate with Apple Pay on the Web:
  • For the storefront, Apple Pay sample helper assets are provided and contain new JSP and JavaScript files that enable the Aurora starter store to call out to Apple Pay on the Web functionality. The samples are designed and written so that they can provide new self-contained code assets that can be inserted into any store, and have no dependency on Dojo.
  • For the backend, services and REST APIs are provided to support the enhanced payment functions. These enhancements facilitate multiple interactions between Aurora starter store pages, WebSphere Commerce server, Apple Pay server, and Payment Service Providers (PSP) such as IBM Payment Gateway, to ensure seamless payment and check out methods.

The Mod Pack 4 assets contain streamlined storefront and backend updates to ensure a seamless integration with the Aurora starter store. Apple Pay on the Web is enabled in the Aurora starter store by using its store function, and most of the manual backend integrations are available by default.

Before you begin

  1. Review and ensure that you meet the requirements for using Apple Pay on the Web. For more information, see Getting Started with Apple Pay.
  2. Ensure that you register and verify your website for Apple Pay. For more information, see Website Registration and Verification for Apple Pay.
  3. Understand the Apple Pay on the Web sequential flows to get familiar with how the Aurora starter store interacts with Apple Pay on the Web: Apple Pay on the Web sequential flows.

About this task

Whether you use the Accelerator assets or Mod Pack 4 to enable Apple Pay on the Web depends on your WebSphere Commerce and starter store versions.
Your store Task to complete
  • Your WebSphere Commerce version is older than Mod Pack 4.
  • Your store assets are based off an Aurora starter store version that is older than Mod Pack 4.
Enabling Apple Pay on the Web using the Accelerator assets
  • Your WebSphere Commerce version is Mod Pack 4 and you deploy the Aurora starter store.
  • Your WebSphere Commerce version is Mod Pack 4 and you base your store off of the current Aurora starter store assets.
Enabling Apple Pay on the Web
Combining the Accelerator assets and Mod Pack 4:
There are special cases where you might use the updated assets provided in Mod Pack 4, and the accelerator assets as a guide. In these cases, ignore the downloadable sample assets and substitute them with the equivalent default Mod Pack 4 assets.
  • If you have a completely custom store, use the updated Mod Pack 4 assets and manually apply the storefront updates using the Accelerator documentation as a guide. Doing so results in your storefront using the updated REST services provided by default in Mod Pack 4.
  • If your store uses Commerce Composer widgets in Mod Pack 4, the product display page contains Apple Pay functionality by default after enabling its store function. However, the shopping cart page and mini shopping cart widget does not contain the functionality by default. Use the updated Mod Pack 4 assets and manually apply the storefront updates using the Accelerator documentation as a guide.
  1. Enabling Apple Pay on the Web
  2. Updating storefront assets for Apple Pay on the Web using Aurora assets