testdata =
"{payments:
[{'status': 'succeeded',
'in_store_payment_type': None,
'refunds': [],
'created_at': '2021-10-20T17:23:41-0400',
'amount_paid_display': '53.00',
'initial_amount_paid_display': '53.00',
'currency': 'usd',
'initial_amount_paid': 5300,
'pk': 75552720,
'type': 'affiliate',
'amount_paid': 5300
}]
}"
I have tried:
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="aspJSON.asp" -->
<%
(read testdata....)
set oJSON= json.parse(testdata)
response.write "Data->" & oJSON.payments.get(0).status
%>
Had hoped to see "succeeded" but no luck.
any suggestions?