Post marked as unsolved
60
Views
i need apple card api or .ipa file to add thailand as new country
Post marked as unsolved
146
Views
I am doing a apple pay web implementation. I send the post, but I'm uncertain what is expected for the cert? I'm using php curl requests on the server side.
The closest I got to a real response was when I exported the cert from my mac as .p12, converted it to .pem and uploaded it to the server.
$ch = curl_init(); $validationUrl = "https://apple-pay-gateway-cert.apple.com/paymentservices/startSession";
curl_setopt($ch, CURLOPT_URL, $validationUrl);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 300);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); //for production, set value to true or 1
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); //for production, set value to 2
curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
curl_setopt($ch, CURLOPT_SSLCERT, Yii::getAlias('@app') . "\uploads\Certificates.pem");
curl_setopt($ch, CURLOPT_SSLCERTPASSWD, "vrajdham@123");
curl_setopt($ch, CURLOPT_DNS_USE_GLOBAL_CACHE, false);
$content = curl_exec($ch);
if (FALSE === $content) {
throw new Exception(curl_error($ch), curl_errno($ch));
}
curl_close($ch);
Response
{
"statusMessage": "Error processing request.",
"statusCode": "500"
}
Post marked as unsolved
51
Views
I am not able to create a merchant session successfully. I am running the .NET framework 4.8. Also, while calling the validation URL with HTTP Client, I am setting the TLS to 1.2 explicitly.
I am able to load the certificate properly, but when calling the URL, it gives an exception "An error occurred while sending the request. "
Inner Exception:
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host
The underlying connection was closed: An unexpected error occurred on a send.
Can you please help? Thank you.
Post marked as unsolved
92
Views
Whenever I try to checkout in my webpage using Stripe and Apple Pay, I get an error if the state includes an accent (á. é, í, ó, ú). Here in Mexico, it is very common that states are named that way.
Error: Enter a valid state as billing address
Error: Enter a valid state as shipping address
Post marked as unsolved
194
Views
Does anyone knows how to integrate API payment provided by Apple Pay in order to perform only the capture ( the money are captured from the the customer's bank account ) and the refund ( the money are refunded to the customer's bank account)?
In my business model, the order is placed on the website and authorized for the payment. Once done, the order is sent to the OMS (Order Management System) that check the stock availabilty. If the order can be picked because the stock is available, I have to call the API for the capture. The same thing if the customer asks to return the goods and once the return request is sent to OMS, i have to call the API for the REFUND. How can i implement the payment "request" for both scenarious? Is there any request example?
How can i manage the "response" coming from Apple pay for both scenarious? Is there any "response" example?
tks
Post marked as unsolved
132
Views
I am running into an odd issue with Apple Pay / Authorize.net integration. Vista transactions work correctly but American Express and Discover transactions get a 153 response code. I have verified that all card types have been enabled with Authorize.net. What would cause only some payment types to fail? The file that intercepts the Apple Pay transaction and relays it to Authorize.net makes no distinction between card types, so it passes along the same fields for every transaction. Is the data from Apple Pay somehow different if different cards are used? If there was an issue with certificates and the content of OpaqueData could not be decrypted, no payment type would work.
If anyone has had this issue and resolved it in the past, can you share your solution? Any tips or suggestions that could be provided would be appreciated as well.
Post marked as unsolved
111
Views
If i build an webview app for ios through stripe js, does Apple accept my application? Stripe.js is configured to use apple pay. Will i get problems during review process?
Post marked as unsolved
396
Views
I have technical issue when I make this step in apple Pay
integration
(Apple Pay on the WEB > Requesting Apple Pay Session):
https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api/requesting_an_apple_pay_payment_session
I really don't know what the reason to problem is with the
next error I get from Apple.
I've tried all kinds of things for a whole day but I can't
find the reason.
When I send the Post (detailed in link above), I got very
common and general error (I've tried dozens of things mentioned in Google):
“<WebException WebException="SendFailure | The underlying connection was
closed: An unexpected error occurred on a send.| System.IO.IOException: Unable to read data from the
transport connection: An existing connection was forcibly closed by the remote
host. ---&gt; System.Net.Sockets.SocketException: An existing
connection was forcibly closed by the remote host ……………………”
Apple is blocking me even though the server I work with is
(probably) suited to all their requirements.
Post marked as solved
120
Views
Hello,
i need to find a solution to make in app available for my webview.
What can i do?
Thanks
Post marked as unsolved
179
Views
Hello,
can i use the Apple Pay Js for my app and submit it to the store? Will it pass the verification?
Thanks
Post marked as unsolved
102
Views
{"statusMessage":"Payment Services Exception merchantId=4A05719E072441EFAF443509464AB433E7F127851D23DB300770AECBAC24DD0F not registered for service","statusCode":"417"}
Post marked as solved
164
Views
Must access to the domain-verification file for Apple-Pay at
https://[DOMAIN_NAME]/.well-known/apple-developer-merchantid-domain-association
be restricted to the Apple Pay IP addresses provided under the Allow Apple IP Addresses for Domain Verification heading of Setting Up Your Server | Apple Developer Documentation - https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server#3172427 or can it be accessed publicly?
Asking because ".well-known" is usually meant to be public but, because the domain-verification file is used to validate a domain, should the file not be protected from public access so the file cannot be retrieved with the malicious intent to validate a spoofed domain?
Also, the fact the domain-verification file content is not trivial hints its access should be restricted.
Thank you!
Post marked as unsolved
96
Views
I was on the GameStop website and saw that there is a way to disable Apple Cash as a card type.
I don't see anything in the documentation about disabling Apple Cash can anyone help me out with this?
Post marked as unsolved
136
Views
我们是中国的tax resident,为什么苹果还需要为我们代扣税金?
不是我们自己在中国缴纳吗?
我算了税率大概是2%,从2015年开始,但是不知道是依据什么规定计算得出的,这部分税金,苹果能否提供代缴税费的凭证,我们可以使用跟中国的税局沟通
Post marked as unsolved
132
Views
Hi, anyone aware of the limit of merchant ids per ADA . I am getting this error now . It says"Unable to add Merchant ID because Merchant ID limit 100 has been exceeded" I am using my organisation's ADA.
Want to know if this an app store bug or we need to pay more or this is a limitation, or we would need more accounts to overcome this limitation
Any inputs would be highly appreciated