[ad_1]
Message given to donator: ‘ERROR: Array not expected (line 1, character 117)’
Log files for Square gateway:
{
"Payment Gateway": "square",
"Donation": {
"Object Class": "Give\\Donations\\Models\\Donation",
"\u0000*\u0000properties": {
"id": "int",
"formId": "int",
"formTitle": "string",
"purchaseKey": "string",
"donorIp": "string",
"createdAt": "DateTime",
"updatedAt": "DateTime",
"status": "Give\\Donations\\ValueObjects\\DonationStatus",
"type": "Give\\Donations\\ValueObjects\\DonationType",
"mode": "Give\\Donations\\ValueObjects\\DonationMode",
"amount": "Give\\Framework\\Support\\ValueObjects\\Money",
"feeAmountRecovered": "Give\\Framework\\Support\\ValueObjects\\Money",
"exchangeRate": [
"string",
"1"
],
"gatewayId": "string",
"donorId": "int",
"firstName": "string",
"lastName": "string",
"email": "string",
"subscriptionId": [
"int",
0
],
"billingAddress": "Give\\Donations\\Properties\\BillingAddress",
"anonymous": [
"bool",
false
],
"levelId": [
"string",
""
],
"gatewayTransactionId": "string",
"company": "string"
},
"\u0000*\u0000relationships": {
"donor": "belongs-to",
"subscription": "belongs-to",
"notes": "has-many"
},
"\u0000*\u0000attributes": {
"id": 2431,
"formId": 2423,
"formTitle": "Basketball Shooting Shirts",
"purchaseKey": "xxxxx0f91f12",#INTENTIONALL OMITTED
"donorIp": "XXX.XXX.XXX.XXX", #INTENTIONALL OMITTED
"createdAt": {
"Object Class": "DateTime",
"date": "2022-11-22 22:00:35.000000",
"timezone_type": 1,
"timezone": "+00:00"
},
"updatedAt": {
"Object Class": "DateTime",
"date": "2022-11-22 22:00:36.000000",
"timezone_type": 1,
"timezone": "+00:00"
},
"status": {
"Object Class": "Give\\Donations\\ValueObjects\\DonationStatus",
"\u0000*\u0000value": "failed"
},
"type": {
"Object Class": "Give\\Donations\\ValueObjects\\DonationType",
"\u0000*\u0000value": "single"
},
"mode": {
"Object Class": "Give\\Donations\\ValueObjects\\DonationMode",
"\u0000*\u0000value": "live"
},
"amount": {
"Object Class": "Give\\Framework\\Support\\ValueObjects\\Money",
"\u0000Give\\Framework\\Support\\ValueObjects\\Money\u0000amount": {
"Object Class": "Money\\Money",
"\u0000Money\\Money\u0000amount": "10000",
"\u0000Money\\Money\u0000currency": {
"Object Class": "Money\\Currency",
"\u0000Money\\Currency\u0000code": "USD"
}
}
},
"feeAmountRecovered": null,
"exchangeRate": "1",
"gatewayId": "square",
"donorId": 3,
"firstName": "Eric",
"lastName": "Sams",
"email": "[email protected]", #INTENTIONALL OMITTED
"subscriptionId": 0,
"billingAddress": {
"Object Class": "Give\\Donations\\Properties\\BillingAddress",
"country": "US",
"address1": "XX", #INTENTIONALL OMITTED
"address2": "",
"city": "Grass valley",
"state": "CA",
"zip": "95945"
},
"anonymous": false,
"levelId": "3",
"gatewayTransactionId": null,
"company": null
},
"\u0000*\u0000original": {
"id": null,
"formId": 2423,
"formTitle": "Basketball Shooting Shirts",
"purchaseKey": null,
"donorIp": "XXX.XXX.XXX.XXX", #INTENTIONALL OMITTED
"createdAt": null,
"updatedAt": null,
"status": {
"Object Class": "Give\\Donations\\ValueObjects\\DonationStatus",
"\u0000*\u0000value": "pending"
},
"type": null,
"mode": {
"Object Class": "Give\\Donations\\ValueObjects\\DonationMode",
"\u0000*\u0000value": "live"
},
"amount": {
"Object Class": "Give\\Framework\\Support\\ValueObjects\\Money",
"\u0000Give\\Framework\\Support\\ValueObjects\\Money\u0000amount": {
"Object Class": "Money\\Money",
"\u0000Money\\Money\u0000amount": "10000",
"\u0000Money\\Money\u0000currency": {
"Object Class": "Money\\Currency",
"\u0000Money\\Currency\u0000code": "USD"
}
}
},
"feeAmountRecovered": null,
"exchangeRate": "1",
"gatewayId": "square",
"donorId": 3,
"firstName": "xx", #INTENTIONALL OMITTED
"lastName": "xx", #INTENTIONALL OMITTED
"email": "[email protected]", #INTENTIONALL OMITTED
"subscriptionId": 0,
"billingAddress": {
"Object Class": "Give\\Donations\\Properties\\BillingAddress",
"country": "US",
"address1": "xxx", #INTENTIONALL OMITTED
"address2": "",
"city": "Grass valley",
"state": "CA",
"zip": "95945"
},
"anonymous": false,
"levelId": "3",
"gatewayTransactionId": null,
"company": null
},
"\u0000Give\\Framework\\Models\\Model\u0000cachedRelations": {
"donor": {
"Object Class": "Give\\Donors\\Models\\Donor",
"\u0000*\u0000properties": {
"id": "int",
"userId": [
"int",
0
],
"createdAt": "DateTime",
"name": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"prefix": "string",
"additionalEmails": "array"
},
"\u0000*\u0000relationships": {
"donations": "has-many",
"subscriptions": "has-many"
},
"\u0000*\u0000attributes": {
"id": 3,
"userId": 0,
"createdAt": {
"Object Class": "DateTime",
"date": "2022-11-22 21:22:02.000000",
"timezone_type": 1,
"timezone": "+00:00"
},
"name": "xx", #INTENTIONALL OMITTED
"firstName": "xx", #INTENTIONALL OMITTED
"lastName": "xx", #INTENTIONALL OMITTED
"email": "[email protected]", #INTENTIONALL OMITTED
"prefix": null,
"additionalEmails": null
},
"\u0000*\u0000original": {
"id": 3,
"userId": 0,
"createdAt": {
"Object Class": "DateTime",
"date": "2022-11-22 21:22:02.000000",
"timezone_type": 1,
"timezone": "+00:00"
},
"name": "xx", #INTENTIONALL OMITTED
"firstName": "xx", #INTENTIONALL OMITTED
"lastName": "xx", #INTENTIONALL OMITTED
"email": "[email protected]", #INTENTIONALL OMITTED
"prefix": null,
"additionalEmails": null
},
"\u0000Give\\Framework\\Models\\Model\u0000cachedRelations": []
}
}
}
}The page I need help with: [log in to see the link]
