Закрыт

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]()

Навыки: PHP, iPhone, Mobile App Development, Android, HTML

Показать больше: 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

О работодателе:
( 2 отзыв(-а, -ов) ) Alesund, Norway

ID проекта: #27157304

2 фрилансеров(-а) готовы выполнить эту работу в среднем за $40

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 - Больше

$30 USD за 4 дней(-я)
(70 отзывов(-а))
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 Больше

$50 USD за 1 день
(2 отзывов(-а))
3.4