Apple pay integration in asp.net website

Hi Guys,

I have asp.net web application targeting framework 4.7.2 . The requirement is to integrate apple pay to the site as a payment method. Can any one help me on the below queries.

  1. As the development will be in visual studio, is it require to have a apple developer account. if yes, which subscription is required (individual/organization). I believe to obtain merchantID, payment processing certificate apple developer account is required but not sure like which subscription is required.

  2. Is there any supporting document or code snippet to integrate apple pay in .net application.

  3. Is it required to use browser safari or iphone or ipad for testing the apple pay? can the testing be done using chrome browser?

  4. Is it a direct integration using c# code or do I need to use any third party payment gateway like stripe, authorize.

Thanks in Advance

Answered by DTS Engineer in 809569022

Hi @razzskhr,

You wrote:

  1. As the development will be in visual studio, is it require to have a apple developer account. if yes, which subscription is required (individual/organization). I believe to obtain merchantID, payment processing certificate apple developer account is required but not sure like which subscription is required.

Please see the following documentation on Apple Pay on the Web:

Apple Pay on the Web https://developer.apple.com/documentation/apple_pay_on_the_web

Then, you wrote:

  1. Is there any supporting document or code snippet to integrate apple pay in .net application.

Apple doesn't provide any examples for .NET specifically, but there are a number of resources available outside of our documentation for this type of integration.

Next, you wrote:

  1. Is it required to use browser safari or iphone or ipad for testing the apple pay? can the testing be done using chrome browser?

As of iOS 18, Apple Pay can be used on non-Safari browsers, but still require an iPhone for authentication and validation. Please see the following WWDC session for more information:

WWDC24: Session 10108 – What's new in Wallet and Apple Pay https://developer.apple.com/videos/play/wwdc2024/10108/

Lastly, you wrote:

  1. Is it a direct integration using c# code or do I need to use any third party payment gateway like stripe, authorize.

The integration of a payment gateway is at your discretion. Many developers act as their own payment service provider (PSP) for Apple Pay.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @razzskhr,

You wrote:

  1. As the development will be in visual studio, is it require to have a apple developer account. if yes, which subscription is required (individual/organization). I believe to obtain merchantID, payment processing certificate apple developer account is required but not sure like which subscription is required.

Please see the following documentation on Apple Pay on the Web:

Apple Pay on the Web https://developer.apple.com/documentation/apple_pay_on_the_web

Then, you wrote:

  1. Is there any supporting document or code snippet to integrate apple pay in .net application.

Apple doesn't provide any examples for .NET specifically, but there are a number of resources available outside of our documentation for this type of integration.

Next, you wrote:

  1. Is it required to use browser safari or iphone or ipad for testing the apple pay? can the testing be done using chrome browser?

As of iOS 18, Apple Pay can be used on non-Safari browsers, but still require an iPhone for authentication and validation. Please see the following WWDC session for more information:

WWDC24: Session 10108 – What's new in Wallet and Apple Pay https://developer.apple.com/videos/play/wwdc2024/10108/

Lastly, you wrote:

  1. Is it a direct integration using c# code or do I need to use any third party payment gateway like stripe, authorize.

The integration of a payment gateway is at your discretion. Many developers act as their own payment service provider (PSP) for Apple Pay.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Apple pay integration in asp.net website
 
 
Q