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 Sonal_123.
Last updated
.
Post not yet marked as solved
4 Replies
2.2k Views
I'm using Core NFC framework in my app. We need to read credit card number, expiry date when I tap the NFC Credit card on the iPhone on which my app is installed.I see Apple UI presented in my app which asks to readnearby NFC. But when I tap my contactless credit card on the iPhone it never reads or detects NFC. However it reads other NFC Tags seamlessly.Am I doing something wrong?
Posted
by dd01dd02.
Last updated
.
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 IreTelli.
Last updated
.
Post not yet marked as solved
2 Replies
2.5k Views
Hi,- I have a developer account with Apple- I have created the Payment Processing Certificate- I have done the merchant validation- I have created the Merchant Identity CertificateWhen I call the function 'session.onvalidatemerchant', visit the url: https://cn-apple-pay-gateway-tj-pod1.apple.com/paymentservices/startSession(event.validationURL), I received a error:{ "statusMessage": "Payment Services Exception merchantId=BECD61522C23F5C8200759A03B67E19730D3F6A03C7DDD1470D64B0DF6F28078 unauthorized to process transactions on behalf of merchantId=1BAE2D40CDB3552D32815FA54BFBDFBAFFE94047CC198087DB502A7C6F9448B1 reason=\"1BAE2D40CDB3552D32815FA54BFBDFBAFFE94047CC198087DB502A7C6F9448B1 is not a registered merchant in WWDR and isn't properly authorized via Mass Enablement, either.\"", "statusCode": "417"}But when I make the same request on a Chinese server, I received a successful result.I hope to get successful results on servers in the United States.Please help.ThanksFan
Posted
by BE123.
Last updated
.
Post not yet marked as solved
8 Replies
9.4k Views
env: iPhone 8 iOS 11.2.1I followed https://developer.apple.com/apple-pay/sandbox-testing/At the final step I can't add visa card to my Wallet sandbox, I changed my region to US, after I tap 'Enter Card Details Manually', the input page need "Name" and Card Number, What is this 'Name'?I tryed my apple id and my apple name but it doesnt work and told me 'Could Not Add Card'.any advise to me ?
Posted
by Xiaoluob.
Last updated
.
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 Last updated
.
Post not yet marked as solved
15 Replies
26k Views
G'day. At my office the doors are locked with an NFC reader. We carry around a little NFC tag on our key chains which will read out a number and this then will open the door if the number matches a number in the database. I am tired of carrying around the tag, people keep loosing it, forgetting it and it would be nice to open the door using a Phone - which we tend to always have on us. So I used a credit card which is NFC enabled to readout the NFC information, added this number to the database and can now open doors using my credit card. This is pretty cool. If I forget my keys (most likely they will be on the desk but silly me left the desk without them), I may have my wallet with me. Then I tried Wallet.app on my iPhone and select the same credit card. However the door doesn't open. When looking in the door software I noticed that the tags will always transmit the same number. So does my credit card. However Wallet.app will read out 4 readings (or maybe just one very long one) and they are always different. So I can not make them match with the door database. Any ideas how to make this work? Can I give somehow wallet.app an NFC number which I can then add to my door database? Or how come the credit card and the very same one in wallet.app don't match? Thanks for your help! Would be neat if I could make this work out. This will make a lot of people happy at my office! Cheers!
Posted
by Walzl.
Last updated
.
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 jko_1985.
Last updated
.
Post not yet marked as solved
2 Replies
435 Views
Hi, I'm trying to get a Merchant ID that's required on our site for Apple Pay. I've signed up to the developer programme, and believe I need to verify my site in order to get the Merchant ID. The file needs to be at: .well-known/apple-developer-merchantid-domain-association.txt However, we're on Shopify and can't add the file there. Is it possible to verify via another method? Is there another way to get a Merchant ID? Thanks in advance
Posted
by s10wen.
Last updated
.
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 z.frazier.
Last updated
.
Post not yet marked as solved
1 Replies
218 Views
Hi there, Do you have Apple Pay Sandbox Cards that can be used to test scenarios where the card is lost or when the charge fails ? For example, Stripe has cards to test declined payments, fraudulent charges etc. Reason being, as we use Apple Pay in concert with Stripe, the Apple Pay sandbox cards will always succeed and thus, we are unable to trigger the Stripe webhooks when ApplePay fails due to lost cards etc and handle them appropriately. Thank you.
Posted
by cpkdrdev.
Last updated
.
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 giodas.
Last updated
.
Post not yet marked as solved
2 Replies
847 Views
Hello everyone,Has anyone here dealt with Apple Pay using Authorize.net on Shopify? Hoping someone has gone through a similar experience & can help out here.I'm trying to get Apple Pay working on Shopify (the payment processor is Authorize.net). The option to use Apple Pay shows up at checkout, but when selected, it just doesn't seem to work. The people at both Authorize.net and Shopify point me in circles.If you've successfully got this to work, please let me know how you were able to solve.Thank you!
Posted Last updated
.
Post not yet marked as solved
4 Replies
1.8k Views
I'm trying to get Apple Pay going on a Shopify site using Authorize.net. I have the text file I need to upload to /.well-known/apple-developer-merchantid-domain-association.txt. Shopify doesn't allow that sort of thing. I know Google will offer a meta tag to add to the header as an alternative when the text file isn't an option. I can't seem to find another method with Apple in this situation. Has anyone found a way around this?
Posted Last updated
.
Post not yet marked as solved
9 Replies
7.6k Views
I got an email from Apple Developer (developer@email.apple.com) saying "The domain for your website that uses Apple Pay has an SSL Certificate that's due to expire"... and "To ensure uninterrupted use of Apple Pay on your website, revalidate your domain by " the date the certificate was scheduled to expire.My SSL certificate has been updated but I see nowhere in the developer portal to "revalidate your domain". Any advice here? I use Braintree for the payment processing and they indicate it's nothing that they would control.Any suggestions?Thanks,Gerry
Posted
by GerryH.
Last updated
.
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 davidebon.
Last updated
.
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 Last updated
.
Post not yet marked as solved
2 Replies
2.7k Views
I implemented the apple pay with a stripe. When I tap the apple pay button it doesn't show any payment sheet and it always returns the nil value. The code is :applepayButton.isEnabled = Stripe.deviceSupportsApplePay() let merchantIdentifier = "merchant.deyaPayApplepay" let paymentRequest = Stripe.paymentRequest(withMerchantIdentifier: merchantIdentifier, country: "US", currency: "usd") // Configure the line items on the payment request paymentRequest.paymentSummaryItems = [ //PKPaymentSummaryItem(label: "Fancy Hat", amount:NSDecimalNumber(value :amount)), // The final line should represent your company; // it'll be prepended with the word "Pay" (i.e. "Pay iHats, Inc $50") PKPaymentSummaryItem(label: "amount to be added", amount:NSDecimalNumber(value :amount)), ] if Stripe.canSubmitPaymentRequest(paymentRequest) { // Setup payment authorization view controller let paymentAuthorizationViewController = PKPaymentAuthorizationViewController(paymentRequest: paymentRequest) paymentAuthorizationViewController?.delegate = self // Present payment authorization view controller self.present((paymentAuthorizationViewController)!, animated: true,completion: nil) } else { // There is a problem with your Apple Pay configuration print("apple pay is not configred properly"); } } func paymentAuthorizationViewController(_ controller: PKPaymentAuthorizationViewController, didAuthorizePayment payment: PKPayment, completion: @escaping (PKPaymentAuthorizationStatus) -&gt; Void) { STPAPIClient.shared().createToken(with: payment) { (token: STPToken?, error)-&gt; Void in print("Stripe token is \(String(describing: token!))") completion(.success) let b = String(describing: token!) } } func paymentAuthorizationViewControllerDidFinish(_ controller: PKPaymentAuthorizationViewController) { //Dismiss payment authorization view controller dismiss(animated: true, completion: { if (true) { // print("Payment Success") // Show a receipt page... } }) }It always the "apple pay is not configured properly". It is worked fine in simulator but when it runs in real device it shows the else condition rather than if condition. Why it is not working properly in real device
Posted Last updated
.