Merhaba dev bölümünde test api url verilmiş fakat secret key vb bilgiler verilmemiş bilen varsa atabilir mi? Mail attık fakat cevap sabaha kalıcak anlaşılan. İhtiyacım olan bilgiler;
$auth->setBayiID('123456');
$auth->setApiKey(');
$auth->setSecretKey('');
$auth->setBaseUrl('https://testapi.weepay.co');
{
"Auth": {
"bayiId": "22",
"apiKey": "XXXXXXXXX",
"secretKey": "XXXXXXXXXXXXXXXX"
},
"Data": {
"orderId": 1,
"currency": "TL",
"locale": "tr",
"paidPrice": "0.16",
"ipAddress": "192.168.1.1",
"cardHolderName": "isim Soyisim",
"cardNumber": "5555222233334444",
"expireMonth": "11",
"expireYear": "24",
"cvcNumber": "556",
"installmentNumber": 1,
"description": "Açıklama"
},
"Customer": {
"customerId": "1",
"customerName": "isim",
"customerSurname": "soyisim",
"gsmNumber": "50XXXXXXX",
"email": "hello@weepay.co",
"identityNumber": "112312312313132",
"city": "istanbul",
"country": "Turkey"
},
"BillingAddress": {
"contactName": "isim soyisim",
"address": "Abdurrahman Nafiz Gürman,Mh, G. Ali Rıza Gürcan Cd. No:27",
"city": "istanbul",
"country": "turkey",
"zipCode": 34164
},
"ShippingAddress": {
"contactName": "isim soyisim",
"address": "Abdurrahman Nafiz Gürman,Mh, G. Ali Rıza Gürcan Cd. No:27",
"city": "istanbul",
"country": "turkey",
"zipCode": 34164
},
"Products": [
{
"productId": "B104A",
"name": "ürün bir",
"productPrice": 2.3,
"itemType": "PHYSICAL"
},
{
"productId": "C1087",
"name": "ürün iki",
"productPrice": 2.3,
"itemType": "PHYSICAL"
},
{
"productId": "12233352",
"name": "ürün üç",
"productPrice": 2.3,
"itemType": "PHYSICAL"
}
]
}