Apple Pay

RSS for tag

Provide a fast, easy, and secure way for users to buy goods and services in your app or on your website using Apple Pay.

Apple Pay Documentation

Posts under Apple Pay tag

261 Posts
Sort by:
Post not yet marked as solved
0 Replies
18 Views
Apple Pay test orders, CC Number (Credit Card number) field is actually mapped to Apple Pay Device Account Number field & not to the correct Card number. Both Apple Pay Device Account Number & Card Numbers are clearly visible in the iPhone device so I am not sure why this wrong mapping happened but could you check let us know please. Attached my device screenshot with test cards
Posted
by
Post not yet marked as solved
2 Replies
68 Views
Hello - I understand Apple recently modified their policy to allow developers redirect users from within the app to an external website to collect subscription fee payments for content to be consumed within the app. Is there more documentation on how this can be done? Can I redirect users to a 3rd party payment processor via the in-app browser to collect payments for subscription fees? Thanks
Posted
by
Post not yet marked as solved
0 Replies
53 Views
Hello everyone, I am working on implementing Apple Pay in the web (react js) using Payment Request API, I have followed every step in the documentation. My problem is after I validatec the merchant successfully I requested the show() method and it would show me the payment sheet for few seconds then gives me a "TypeError: Type error", I have been trying to debug and solve the problem for few days now with no success :(. Here is a sample from my code: const request = new PaymentRequest(methods, details, options ); request.onmerchantvalidation = event => { const merchantSessionPromise = fetch(url).then(res => res.json()).catch(err => { console.error("Error fetching merchant session", err); }); event.complete(merchantSessionPromise); }; // Here where the problem occurs :( const response = await request.show(); const status = "success"; await response.complete(status); } catch (e) { console.error("Error completing the session", e); } Thank you in advance for all of the help
Posted
by
Post not yet marked as solved
0 Replies
86 Views
Our app is somewhat unique in how the pricing structure works. The customer is charged purely on time (per minute). When a customer books a job, the system will produce an estimated time & price based on a number of various inputs. For e.g. customer is given an estimate of $30 @ $1.00 per minute x 30 mins. Currently, the customer saves credit details to their account and payment is taken after the actual work for the customer is completed and we know the actual mins the job took to complete. E.g. $45 @ $1.00 per minute x 45 mins. Thus being a $15 difference between the estimated price and the actual price. In some examples, the final price ends up being less than the estimate. (Stripe is the payment gateway we use) So my question is, does Apple Pay have the capability to take payment AFTER the job is completed and we know the final minutes & cost of the job, or must the payment be taken when the customer schedules the booking in the app and the payment be based on the estimate?
Posted
by
Post not yet marked as solved
1 Replies
94 Views
I’m currently working on an e-commerce application that allows you to buy shirts. I was wondering how do I get the data like address and names sent to me for shipping purposes. Also do I link and account to receive the transaction funds? any information would be great thanks.
Posted
by
Post not yet marked as solved
1 Replies
141 Views
Hi, We have to upgrade an ApplePay Merchant Identity certificate which is due to expire soon and we’re wondering what’s the best approach for doing that. We’ve already generated the new certificate on the Apple Developer website and now we’ve got two ApplePay Merchant Identity certs for our Merchant Identifier (the old and the new one, both valid). Can we keep both or we should revoke the old one once we’ve deployed our client application with the new one? What about the client application, should we keep both Merchant Identity certificates in its keystore or only the new one? Cheers Giovanni D'Ascola
Posted
by
Post not yet marked as solved
0 Replies
71 Views
Hi Team, I've looked through the Apple Developer Program and looked through the Merchant Registration API and Test card number in the Sandbox environment. But I'm looking for something more particular which is how can I register to be a Apple Pay Issuer? Google has a form to fill out (Request for Google Pay Issuer Click-to-Accept Agreement - Google Help) but I can't seem to find any information on Apple pay, could you please help me out with it? Rgds, David
Posted
by
Post not yet marked as solved
0 Replies
110 Views
I am facing this issue have a look please and help me fix it asap!!!! :( Swift Compiler Error (Xcode): '(any PKPaymentAuthorizationControllerDelegate) -> ((PKPaymentAuthorizationController, PKShippingMethod, @escaping (PKPaymentRequestShippingMethodUpdate) -> Void) -> Void)?' is not convertible to 'pkDidSelectShippingMethodSignature' (aka 'Optional<((PKPaymentAuthorizationControllerDelegate) -> (PKPaymentAuthorizationController, PKShippingMethod, @escaping (PKPaymentRequestShippingMethodUpdate) -> ()) -> ())>') /Users/apple/Desktop/Cool%20Panda%20Apps/provider_flutter/ios/Pods/StripeApplePay/StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift:239:53 Screenshot: Deleted PODfile.lock and Pods folder millions of times and installed pods again. Still no luck same error!!! Here is the screenshot of the PODFILE:  P.S: Using Xcode 14.0(Beta) as I need to develop for iOS 16 as well. io
Posted
by
Post not yet marked as solved
0 Replies
106 Views
Hello! I've seen numerous posts about this situation with a variety of answers and none of them seem to apply to our situation. We are implementing Apple Pay on our web site (or at least trying to). We go through the process of having the browser retrieve a session ID from Apple via a call to our server that then gets the session from Apple. But then we pass the session object to completeMerchantValidation and the payment window disappears and triggers a cancel event. I have double checked that the DNS PTR for the IP our server uses to make the request to Apple matches the domain we have validated with Apple. The session object we get back from Apple appears to be valid and contains attributes such as merchantSessionIdentifier, merchantIdentifier, signature, etc. On the iPhone XR I'm testing with, I've tried an Apple ID registered with the sandbox and a test card in the wallet as well as my Apple ID with a real credit card in the wallet. I've switched back and forth between Apple IDs and removed the cards and readded them numerous times. I do have FaceID enabled. I've tried this with the page coded for Apple Pay JS API and with it coded for the Payment Request API. They both trigger the cancel event when completeMerchantValidation is called. I've put a zillion debug statements in my code to trace every little step it takes. But now I'm at a dead end. I even made a purchase via Apple Pay on the Etsy web site just to make sure it wasn't something wrong with the phone itself. If anyone could please point me in the right directions I'd be very appreciative. Code can be provided if necessary. Thank you in advance.
Posted
by
Post not yet marked as solved
0 Replies
92 Views
It ask me to verify merchant ID domain again despite I already did it. What can cause this? When I try to verify it again I see that verification file content is being changed. And I am able to verify it with the new file. But every couple of months it ask me to verify it again. Appreciate any help.
Posted
by
Post not yet marked as solved
0 Replies
102 Views
If I have many product Id, I want to check one product Id status is APPROVED OR THE OTHER STATUS What should I do? Thanks ^ _ ^
Posted
by
Post not yet marked as solved
0 Replies
111 Views
Hi, Do I need to make any settings to change from Non Sandbox iPhone to Sandbox iPhone? https://developer.apple.com/apple-pay/sandbox-testing/ "Create your Payment Processing Certificate or obtained a CSR from your PSP." What does this mean? Thanks.
Posted
by
Post not yet marked as solved
0 Replies
192 Views
Using build 20A5283p, checkCanRequestDocument is returning false, even on Simulator or Device with mock id profile installed. This is what I see in the console: 2022-06-14 12:07:58.717645-0400 MDLReader[529:16608] [Client] XPC connection error: Couldn’t communicate with a helper application. 2022-06-14 12:07:58.719067-0400 MDLReader[529:16608] [Client] DigitalPresentmentSession checkCanRequestDocumentType error from xpc: The operation couldn’t be completed. (DIIdentityErrorDomain error 1.) I am presuming either that the feature is not yet available or as noted here there is a new entitlement required that is not yet available. I did add a "regular" apple wallet entitlement with a merchant id tied to our developer account so just want to check to be sure I didn't miss something. Thanks!
Posted
by
Post not yet marked as solved
0 Replies
148 Views
Hi, I'm trying to integrate Apple Pay on our production website. I managed to complete the implementation on my local machine and successfully tested it with an Apple sandobx account. However, when we ported the integration to our production environment, the merchant validation step fails with this error: "Could Not Create SSL/TLS Secure Channel". Some information: we checked multiple times that the merchant ID, domain name and all other parameters we send for merchant validation are correct Our production server supports TLS1.2 and the cipher suites required by Apple pay to work The merchant domain validation has been done The TLS certificate we send for the merchant validation has been created in compliance with the Apple documentation guidelines and the server process has the right permissions to access it We explicitly set the security protocol as TLS 1.2 in the code We tried turning off the firewall but it didn't change anything Our server uses .NET version 4.5.2 We searched all the web for a solution but we can't seem to find one. It looks like a server configuration/networking issue since, as I said, it works perfectly on my local machine. Any insight on the matter would be greatly appreciated. Thanks
Posted
by
Post not yet marked as solved
0 Replies
136 Views
From what I know, the iPhone can read NFC tags since 2017 (Core NFC) only on the iPhone 7, 7 Plus, and later. I also know that iPhone XR and later can read tags in the background. My question is the following : what is the difference between reading an NFC and being able to use the phone to scan a NFC ? Technically, paying with Apple Pay on an iPhone 6s, being the first to support Apple Pay is possible, but why is that phone model unable to read NFCS ? Thanks for the answers.
Posted
by
Post not yet marked as solved
0 Replies
151 Views
Hello, I created a testing account and added a testing Amex card in my wallet, now I'm trying to test apple pay on my website, but it has very strange behavior, when I click the pay with apple button, popup for choosing cards opens and closes immediately, what can cause this problem and any idea how can I fix it?
Posted
by
Post not yet marked as solved
0 Replies
142 Views
Hello, Am attempting to configure Apple Pay. When creating the Apple Pay Merchant Identity Certificate using the CSR provided by Cybersource the following error is being thrown- CSR algorithm/size incorrect. Expected: RSA(2048).
Posted
by
Post not yet marked as solved
1 Replies
170 Views
My website uses Stripe to issue physical and virtual credit cards. Сan I use the javascript library to enable the user to add his new card to Apple Pay in Safari browser? (my javascript code will prompt the user on website to add a credit card to Apple Pay In Safari browser)
Posted
by