Lukket

Apple Pay - php

I have followed the steps of [login to view URL] to use ApplePay, but i only get the spinner, it never continues. I would like to have someone to guide me through it. I have used this as a test, that did not work.

const session = new ApplePaySession(1, {

countryCode: 'DK',

currencyCode: 'EUR',

supportedNetworks: ['visa', 'masterCard'],

merchantCapabilities: ['supports3DS'],

lineItems: [

{

type: 'final',

label: '2x orange juice',

amount: 2.99,

},

],

total: {label: shopName, amount: 2.99},

requiredShippingContactFields: ['name', 'email', 'postalAddress'],

})

[login to view URL] = e =>

fetch('[login to view URL]', {

method: 'POST',

headers: {

'Accept': 'application/json',

'Content-Type': 'application/json',

'Accept-Version': '1',

},

body: [login to view URL]({

configurationId,

text: shopName,

validationURL: [login to view URL],

}),

})

.then(r => [login to view URL]())

.then(r => {

return [login to view URL]([login to view URL])

})

[login to view URL] = e =>

fetch('[login to view URL]', {

method: 'POST',

headers: {

Accept: 'application/json, text/plain, */*',

'Content-Type': 'application/json',

},

body: [login to view URL]({

key: merchantPublicKey,

// custom: ..., // if relevant

apple: [login to view URL]([login to view URL]),

}),

})

.then(r => [login to view URL]())

.then(

r => {

[login to view URL](ApplePaySession.STATUS_SUCCESS)

[login to view URL](r)

},

err => {

[login to view URL](ApplePaySession.STATUS_FAILURE)

[login to view URL](err)

}

)

[login to view URL]()

Evner: PHP, iPhone, Mobile App Development, Android, HTML

Se mere: apple pay js api example, apple pay sfsafariviewcontroller, apple pay php example, apple pay account, apple pay api, stripe apple pay, apple pay php github, decrypt apple pay token php, php projects payment gateway, php prosa payment example, php service payment system, php realex payment integration, php begin week, php scripts payment via credit card without fake, pay php programmer brazil, pay pal send payment, php free payment gateway code, php using payment gateway, php free payment processor forms, free php booking payment

Om arbejdsgiveren:
( 2 bedømmelser ) Alesund, Norway

Projekt ID: #27157304

2 freelancers are bidding on average $40 for this job

clickcubes

Hello, we are team of well structured IT geeks. We have delivered various CMS based projects in past 8+ Years and our customers are always satisfied with our job. We are well aware about technologies as you mentioned - Flere

$30 USD in 4 dage
(70 bedømmelser)
6.3
Anjongfhine

Hi, I have ever integrated Apple pay, so I'm very interested in your job. I think, I can handle your project professionally as an expert with 10 years of experience with a good codebase. Please message me, I'm ready to Flere

$50 USD på 1 dag
(2 bedømmelser)
3.4