|
Hi,
1) I want to integrate Apple Pay on my website (so it's a Apple Pay - Web Integration), using the Braintree payment provider, JS as a client side language and Java as a server side language.
I'm having difficulties creating a proper sandbox environment for my Apple Pay implementation Testing.
Followed the steps from the Apple docs but it seems they are not accurate :
-says to create a Merchant Id, one for sandbox and one for production (as far as I can see, at the moment of creating those 2, there's no way of telling that you want to use one for the development environment and the other for the production)
- after that, says to create a Certificate using the Merchant ID created before; if I sign in to my Apple Developer Account, I can see the 'Development' and the 'Production' sections, but when I try to create a sandbox/development certificate, Apple Pay is not available for it, only in the production section (see below images).
Is there a way to create a Sandbox / Development Apple Pay certificate, or are there any other ways to properly test the Apple Pay integration ?
2) I tried creating a sandbox user tester account from iTunes, but when I tried to login on Itunes on my Ipad which I'm using for testing, I get the following error: 'Itunes account creation not allowed. This Apple ID cannot be used with the Itunes Store at this time. Please try again later.' (I already verified my Apple ID and followed all the steps to activate the account, but without any success)
3) As I was trying to create Sandbox Apple Pay certificates I mistakenly created 2 for the production environment. Could I revoke them without any problems and create another ones ?
If you integrated Apple Pay on the WEB, I would highly appreciate any help, since I'm having such difficulty in simply setting up my testing environment.
Images - links:
https://i.stack.imgur.com/7aGer.png
https://i.stack.imgur.com/WEYPR.png
Thanks Smile | 
|
|
|
|
|
Please do not post multiple copies of the same question. Especially as it is not a programming issue.
|
|
|
|
|
This is normal with windows10 for a universal application since it is the OS that manages the permission of the user OK fine !!! But my app is automatically compatible windows 8.x at submission store and it fails since with 8.x it is the programmer who manages the authorization with the code:
Var accessStatus = await Geolocator.RequestAccessAsync (); Request access
Switch (accessStatus)
In Visual Studio 2015 no definition in geolocator for requestaccessasync (), (only "equal" and "reference equal") I've been searching for a week.how can i
|
|
|
|
|
That method was added in Windows 10. It's not available in Windows 8.1 - instead, you'll need to request the location, and catch the exception thrown if the location services are turned off.
This StackOverflow answer[^] has the required code.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I have problem to create running leds with Raspberry PI 3 Windows IOT, but random led blink does work.
The code for both are almost the same, only diffrent runnings leds is controlled by variable count and random led
is generated with random generator.
The running led code is below this text. I will get only the first led to light, and rest of leds stays dark. Can someone see what's wrong with this code?
But the random blink led works, which comes after this running leds code and both codes almost identically, but still the running leds code does not work.
Running leds code
private void Timer_Tick(object sender, object e)
{
int ledCheck = 1, ledCheck2 = 1;
int ledValue = 0, ledValue2 = 0;
int checkValue = 0;
if (ledCheck2 == 1)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
ledCheck2 = 0;
}
ledValue2 = ledValue2 + 1;
TextBlock1.Text = ledValue2.ToString();
if (ledValue2 == 1)
{
pinValue1 = GpioPinValue.High;
}
if (ledValue2 == 2)
{
pinValue2 = GpioPinValue.High;
}
if (ledValue == 3)
{
pinValue3 = GpioPinValue.High;
}
if (ledValue2 == 4)
{
pinValue4 = GpioPinValue.High;
}
if (ledValue2 == 5)
{
pinValue5 = GpioPinValue.High;
}
if (ledValue2 == 6)
{
pinValue6 = GpioPinValue.High;
}
if (ledValue2 == 7)
{
pinValue7 = GpioPinValue.High;
}
if (pinValue1 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.High;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue2 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.High;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue3 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.High;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue4 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.High;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue5 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.High;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue6 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.High;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue7 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.High;
pin7.Write(pinValue7);
}
TextBlock1.Text = "TEST " + ledValue2.ToString();
}
Random led blink
private void Timer_Tick(object sender, object e)
{
int ledCheck = 1, ledCheck2 = 1;
int ledValue = 0, ledValue2 = 0;
int checkValue = 0;
if (ledCheck == 1)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
ledCheck = 0;
}
Random rnd = new Random();
ledValue = rnd.Next(1, 8);
if (ledValue != checkValue)
{
checkValue = ledValue;
if (ledValue == 1)
{
pinValue1 = GpioPinValue.High;
}
if (ledValue == 2)
{
pinValue1 = GpioPinValue.High;
}
if (ledValue == 3)
{
pinValue3 = GpioPinValue.High;
}
if (ledValue == 4)
{
pinValue4 = GpioPinValue.High;
}
if (ledValue == 5)
{
pinValue5 = GpioPinValue.High;
}
if (ledValue == 6)
{
pinValue6 = GpioPinValue.High;
}
if (ledValue == 7)
{
pinValue7 = GpioPinValue.High;
}
if (pinValue1 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.High;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue2 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.High;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue3 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.High;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue4 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.High;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue5 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.High;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue6 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.High;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue7 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.High;
pin7.Write(pinValue7);
}
TextBlock1.Text = "NOT Same value!";
}
else
{
TextBlock1.Text = "Same value!";
}
}
|
|
|
|
|
I am trying to create a cross platform app which live stream's radio from different radio stations and people can choose which radio to listen to.
How should i get started?
|
|
|
|
|
|
try some api from radio station databas.e
|
|
|
|
|
This may give you some ideas.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
<pre lang="C#">I have problem with this visual c# uwp code when I am trying to save to text file with raspberry pi 3 with Windows 10 IoT.
var path = @"urls.txt";
var folder = Windows.ApplicationModel.Package.Current.InstalledLocation;
var file = await folder.GetFileAsync(path);
var lines = await Windows.Storage.FileIO.ReadLinesAsync(file);
(lines[0]) = textBoxRadio.Text;
(lines[1]) = textBoxRadio2.Text;
await Windows.Storage.FileIO.WriteLinesAsync(file, lines);
Following error message appears
Unhandled exception at 0x75DC0D6F (twinapi.appcore.dll) in blinky.exe: 0xC000027B: An application-internal exception has occurred
(parameters: 0x038CF1D0, 0x00000001). occurred
and the application halted.
Can someone help me?
|
|
|
|
|
How to redirect to a default page when connected to a server from a browser?
|
|
|
|
|
I don't see anything urgent, nor do I see a proper question.
|
|
|
|
|
im doing my project!! so i wanted to know how to redirect to a particular page through the browser when connected to a server.
|
|
|
|
|
No, I checked with my boss and he said it's not urgent at all.
This isn't any more of a question than your vague posting in QA. There isn't any need to cross post all over the place. And, "I'm doing my project" means nothing to us and isn't an answer to question that anyone has asked you so far.
|
|
|
|
|
how will your boss decide if its urgent or not?? its urgent for me.
|
|
|
|
|
We are all volunteers here, so saying something is urgent means nothing to us. Please learn to post proper questions, and stick to one forum only.
|
|
|
|
|
Member 12800411 wrote: its urgent for me
We are unpaid volunteers and no one cares how urgent you think it is, because it's not urgent to anyone but you.
|
|
|
|
|
NotPolitcallyCorrect wrote: I checked with my boss I'm calling you out on this. I don't think you really did check. I say you are fibbing. Tsk tsk.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Not sure how this is related to mobile development, but...
See here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Member 12800411 wrote: a default page In IIS switch to Features View and open Default Document. Then click add and put in your default document.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Whether bluetooth audio can support 5.1 channel audio?
|
|
|
|
|
You should post that question to Google.
|
|
|
|
|
I tried here (not only here) to get a direct answer. 
|
|
|
|
|
|
I am working in a custom camera renderer implemented a form.
> TurnTorchOnOff() - The problem is that Doesnot WORK!
Here is the code:
public void TurnTorchOnOff()
{
if (_mediaCapture.VideoDeviceController.FlashControl.Supported)
{
_mediaCapture.VideoDeviceController.FlashControl.Enabled = true;
_mediaCapture.VideoDeviceController.FlashControl.Auto = false;
if (_mediaCapture.VideoDeviceController.FlashControl.PowerSupported)
{
_mediaCapture.VideoDeviceController.FlashControl.PowerPercent = 100;
}
if (_mediaCapture.VideoDeviceController.FlashControl.AssistantLightSupported)
_mediaCapture.VideoDeviceController.FlashControl.AssistantLightEnabled = false;
}
else
{
UserDialogs.Instance.Alert("No Flash Control supported on this device", Strings.Atte

|
|
|
|