This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Web Server - Ask For Help / Point of Sale (Cashier Screen) in Nettalk
« on: April 19, 2024, 12:58:24 AM »
hi,
Has anyone created a responsive web point of sale screen (Cashier Interface) using NetTalk?
regards,
jason
nt14.20
c11.1
Has anyone created a responsive web point of sale screen (Cashier Interface) using NetTalk?
regards,
jason
nt14.20
c11.1
2
Web Server - Ask For Help / Re: Multi host certificate
« on: March 11, 2024, 01:55:38 AM »
update:
bruce solved it.
the domain is not listed in the hostserversetting.xml
but shown at calculated domains. i manually add the domain in the xml and website loads fine.
thanks bruce.
jason
nt12.62
c11
bruce solved it.
the domain is not listed in the hostserversetting.xml
but shown at calculated domains. i manually add the domain in the xml and website loads fine.
thanks bruce.
jason
nt12.62
c11
3
Web Server - Ask For Help / Multi host certificate
« on: March 07, 2024, 05:33:37 PM »
Hi,
I am running a multi host using nt12.62
The security certificates generate correctly for each domain.
For example:
www.abc.com ---> ssl ok
www.def.com ----> ssl ok
www.ghi.com ----> ssl ok
Now i have added demo.def.com in a domain management and it points to the server correctly.
host.exe able to generate the certificate too.
However, when i load the site, it shows certificate not valid and the common name is www.abc.com
Is there any step that i have missed out?
jason
nt12.62
c11
I am running a multi host using nt12.62
The security certificates generate correctly for each domain.
For example:
www.abc.com ---> ssl ok
www.def.com ----> ssl ok
www.ghi.com ----> ssl ok
Now i have added demo.def.com in a domain management and it points to the server correctly.
host.exe able to generate the certificate too.
However, when i load the site, it shows certificate not valid and the common name is www.abc.com
Is there any step that i have missed out?
jason
nt12.62
c11
4
Web Server - Ask For Help / Re: json group in queue
« on: December 12, 2023, 01:38:53 AM »
thanks bruce,
i overlooked something. so eager to solve it and didnt see a minor thing.
the tested working code should be:
planjson &= json.GetByName('plan')
if not planjson &= null
planid = planjson.GetValueByName('id')
end
i overlooked something. so eager to solve it and didnt see a minor thing.
the tested working code should be:
planjson &= json.GetByName('plan')
if not planjson &= null
planid = planjson.GetValueByName('id')
end
5
Web Server - Ask For Help / Re: json group in queue
« on: December 11, 2023, 11:09:25 PM »
hi bruce,
i capture the api, remove the header and save response values (which is in json) into a string theory (st)
and then i did the following
json.start()
json.SetTagCase(jf:CaseAsIs)
json.LoadString(st)
i could get non queue values such as element.id
the word id is used several times in the returned json. so if i use getvaluebyname, most likely it will get the first one only,
right?
also, planjson &= GetByName('plan') gives error -> no matching prototype available.
but i have declared it in the local declaration as planjson &jsonclass
i capture the api, remove the header and save response values (which is in json) into a string theory (st)
and then i did the following
json.start()
json.SetTagCase(jf:CaseAsIs)
json.LoadString(st)
i could get non queue values such as element.id
the word id is used several times in the returned json. so if i use getvaluebyname, most likely it will get the first one only,
right?
also, planjson &= GetByName('plan') gives error -> no matching prototype available.
but i have declared it in the local declaration as planjson &jsonclass
6
Web Server - Ask For Help / Re: json group in queue
« on: December 11, 2023, 09:36:01 PM »
hi
i have tried this but still no value returned
element.items.data_ &= NEW dataQueueType
PriceId = element.items.data_.plan.id
regards,
jason
c11
nt12.62
jf3
i have tried this but still no value returned
element.items.data_ &= NEW dataQueueType
PriceId = element.items.data_.plan.id
regards,
jason
c11
nt12.62
jf3
7
Web Server - Ask For Help / Re: json group in queue
« on: December 11, 2023, 07:19:30 PM »
hi sean,
i did the following
json.start()
json.SetTagCase(jf:CaseAsIs)
json.LoadString(st)
PriceID = element.plan.id
But i get the error -> Field not found: PLAN
i did the following
json.start()
json.SetTagCase(jf:CaseAsIs)
json.LoadString(st)
PriceID = element.plan.id
But i get the error -> Field not found: PLAN
8
Web Server - Ask For Help / json group in queue
« on: December 11, 2023, 04:01:47 AM »
hi friends,
i have this json declaration
element Group,Name('element')
id STRING(255),Name('id')
object STRING(255),Name('object')
application_ String(250) ,Name('application| opt')
application_fee_percent String(250) ,Name('application_fee_percent| opt')
automatic_tax Group,Name('automatic_tax')
enabled Byte,Name('enabled | boolean')
End
billing_cycle_anchor Real,Name('billing_cycle_anchor| opt')
billing_thresholds String(250) ,Name('billing_thresholds')
cancel_at String(250) ,Name('cancel_at| opt')
cancel_at_period_end Byte,Name('cancel_at_period_end| opt | boolean')
canceled_at String(250) ,Name('canceled_at| opt')
cancellation_details Group,Name('cancellation_details')
comment String(250) ,Name('comment')
feedback String(250) ,Name('feedback')
reason String(250) ,Name('reason')
End
collection_method STRING(255),Name('collection_method| opt')
created Real,Name('created')
currency STRING(255),Name('currency')
current_period_end Real,Name('current_period_end| opt')
current_period_start Real,Name('current_period_start| opt')
customer STRING(255),Name('customer| opt')
days_until_due String(250) ,Name('days_until_due| opt')
default_payment_method String(250) ,Name('default_payment_method| opt')
default_source String(250) ,Name('default_source| opt')
default_tax_rates String(240) ,Dim(10),Name('default_tax_rates| opt')
description String(250) ,Name('description| opt')
discount String(250) ,Name('discount| opt')
ended_at String(250) ,Name('ended_at| opt')
items Group,Name('items')
object STRING(255),Name('object')
data_ &dataQueueType,Name('data | queue')
has_more Byte,Name('has_more | boolean')
total_count Real,Name('total_count')
url STRING(255),Name('url')
End
latest_invoice STRING(255),Name('latest_invoice| opt')
livemode Byte,Name('livemode | boolean')
metadata Group,Name('metadata')
End
next_pending_invoice_item_invoice String(250) ,Name('next_pending_invoice_item_invoice| opt')
on_behalf_of String(250) ,Name('on_behalf_of| opt')
pause_collection String(250) ,Name('pause_collection| opt')
payment_settings Group,Name('payment_settings')
payment_method_options String(250) ,Name('payment_method_options')
payment_method_types String(250) ,Name('payment_method_types')
save_default_payment_method STRING(255),Name('save_default_payment_method')
End
pending_invoice_item_interval String(250) ,Name('pending_invoice_item_interval| opt')
pending_setup_intent String(250) ,Name('pending_setup_intent| opt')
pending_update String(250) ,Name('pending_update| opt')
quantity Real,Name('quantity')
schedule String(250) ,Name('schedule| opt')
start_date Real,Name('start_date| opt')
status STRING(255),Name('status| opt')
test_clock String(250) ,Name('test_clock| opt')
transfer_data String(250) ,Name('transfer_data| opt')
trial_end String(250) ,Name('trial_end| opt')
trial_settings Group,Name('trial_settings')
end_behavior Group,Name('end_behavior')
missing_payment_method STRING(255),Name('missing_payment_method')
End
End
trial_start String(250) ,Name('trial_start| opt')
End
dataQueueType Queue,Type,Name('data')
id STRING(255),Name('id')
object STRING(255),Name('object')
billing_thresholds String(250) ,Name('billing_thresholds')
created Real,Name('created')
metadata Group,Name('metadata')
End
plan Group,Name('plan')
id STRING(255),Name('id')
object STRING(255),Name('object')
active Byte,Name('active | boolean')
aggregate_usage String(250) ,Name('aggregate_usage')
amount Real,Name('amount')
amount_decimal STRING(255),Name('amount_decimal')
billing_scheme STRING(255),Name('billing_scheme')
created Real,Name('created')
currency STRING(255),Name('currency')
interval STRING(255),Name('interval')
interval_count Real,Name('interval_count')
livemode Byte,Name('livemode | boolean')
metadata Group,Name('metadata')
End
nickname String(250) ,Name('nickname')
product STRING(255),Name('product')
tiers_mode String(250) ,Name('tiers_mode')
transform_usage String(250) ,Name('transform_usage')
trial_period_days String(250) ,Name('trial_period_days')
usage_type STRING(255),Name('usage_type')
End
price Group,Name('price')
id STRING(255),Name('id')
object STRING(255),Name('object')
active Byte,Name('active | boolean')
billing_scheme STRING(255),Name('billing_scheme')
created Real,Name('created')
currency STRING(255),Name('currency')
custom_unit_amount String(250) ,Name('custom_unit_amount')
livemode Byte,Name('livemode | boolean')
lookup_key String(250) ,Name('lookup_key')
metadata Group,Name('metadata')
End
nickname String(250) ,Name('nickname')
product STRING(255),Name('product')
recurring Group,Name('recurring')
aggregate_usage String(250) ,Name('aggregate_usage')
interval STRING(255),Name('interval')
interval_count Real,Name('interval_count')
trial_period_days String(250) ,Name('trial_period_days')
usage_type STRING(255),Name('usage_type')
End
tax_behavior STRING(255),Name('tax_behavior')
tiers_mode String(250) ,Name('tiers_mode')
transform_quantity String(250) ,Name('transform_quantity')
type STRING(255),Name('type')
unit_amount Real,Name('unit_amount')
unit_amount_decimal STRING(255),Name('unit_amount_decimal')
End
quantity Real,Name('quantity')
subscription STRING(255),Name('subscription')
tax_rates String(240) ,Dim(10),Name('tax_rates')
End
as you notice, there are several occurence of 'id'
i need to get the value of id after plan:
plan Group,Name('plan')
id STRING(255),Name('id')
i cant get it via json.GetValueByName
any suggestion please
thanks.
jason
c11
nt12.62
jf3
i have this json declaration
element Group,Name('element')
id STRING(255),Name('id')
object STRING(255),Name('object')
application_ String(250) ,Name('application| opt')
application_fee_percent String(250) ,Name('application_fee_percent| opt')
automatic_tax Group,Name('automatic_tax')
enabled Byte,Name('enabled | boolean')
End
billing_cycle_anchor Real,Name('billing_cycle_anchor| opt')
billing_thresholds String(250) ,Name('billing_thresholds')
cancel_at String(250) ,Name('cancel_at| opt')
cancel_at_period_end Byte,Name('cancel_at_period_end| opt | boolean')
canceled_at String(250) ,Name('canceled_at| opt')
cancellation_details Group,Name('cancellation_details')
comment String(250) ,Name('comment')
feedback String(250) ,Name('feedback')
reason String(250) ,Name('reason')
End
collection_method STRING(255),Name('collection_method| opt')
created Real,Name('created')
currency STRING(255),Name('currency')
current_period_end Real,Name('current_period_end| opt')
current_period_start Real,Name('current_period_start| opt')
customer STRING(255),Name('customer| opt')
days_until_due String(250) ,Name('days_until_due| opt')
default_payment_method String(250) ,Name('default_payment_method| opt')
default_source String(250) ,Name('default_source| opt')
default_tax_rates String(240) ,Dim(10),Name('default_tax_rates| opt')
description String(250) ,Name('description| opt')
discount String(250) ,Name('discount| opt')
ended_at String(250) ,Name('ended_at| opt')
items Group,Name('items')
object STRING(255),Name('object')
data_ &dataQueueType,Name('data | queue')
has_more Byte,Name('has_more | boolean')
total_count Real,Name('total_count')
url STRING(255),Name('url')
End
latest_invoice STRING(255),Name('latest_invoice| opt')
livemode Byte,Name('livemode | boolean')
metadata Group,Name('metadata')
End
next_pending_invoice_item_invoice String(250) ,Name('next_pending_invoice_item_invoice| opt')
on_behalf_of String(250) ,Name('on_behalf_of| opt')
pause_collection String(250) ,Name('pause_collection| opt')
payment_settings Group,Name('payment_settings')
payment_method_options String(250) ,Name('payment_method_options')
payment_method_types String(250) ,Name('payment_method_types')
save_default_payment_method STRING(255),Name('save_default_payment_method')
End
pending_invoice_item_interval String(250) ,Name('pending_invoice_item_interval| opt')
pending_setup_intent String(250) ,Name('pending_setup_intent| opt')
pending_update String(250) ,Name('pending_update| opt')
quantity Real,Name('quantity')
schedule String(250) ,Name('schedule| opt')
start_date Real,Name('start_date| opt')
status STRING(255),Name('status| opt')
test_clock String(250) ,Name('test_clock| opt')
transfer_data String(250) ,Name('transfer_data| opt')
trial_end String(250) ,Name('trial_end| opt')
trial_settings Group,Name('trial_settings')
end_behavior Group,Name('end_behavior')
missing_payment_method STRING(255),Name('missing_payment_method')
End
End
trial_start String(250) ,Name('trial_start| opt')
End
dataQueueType Queue,Type,Name('data')
id STRING(255),Name('id')
object STRING(255),Name('object')
billing_thresholds String(250) ,Name('billing_thresholds')
created Real,Name('created')
metadata Group,Name('metadata')
End
plan Group,Name('plan')
id STRING(255),Name('id')
object STRING(255),Name('object')
active Byte,Name('active | boolean')
aggregate_usage String(250) ,Name('aggregate_usage')
amount Real,Name('amount')
amount_decimal STRING(255),Name('amount_decimal')
billing_scheme STRING(255),Name('billing_scheme')
created Real,Name('created')
currency STRING(255),Name('currency')
interval STRING(255),Name('interval')
interval_count Real,Name('interval_count')
livemode Byte,Name('livemode | boolean')
metadata Group,Name('metadata')
End
nickname String(250) ,Name('nickname')
product STRING(255),Name('product')
tiers_mode String(250) ,Name('tiers_mode')
transform_usage String(250) ,Name('transform_usage')
trial_period_days String(250) ,Name('trial_period_days')
usage_type STRING(255),Name('usage_type')
End
price Group,Name('price')
id STRING(255),Name('id')
object STRING(255),Name('object')
active Byte,Name('active | boolean')
billing_scheme STRING(255),Name('billing_scheme')
created Real,Name('created')
currency STRING(255),Name('currency')
custom_unit_amount String(250) ,Name('custom_unit_amount')
livemode Byte,Name('livemode | boolean')
lookup_key String(250) ,Name('lookup_key')
metadata Group,Name('metadata')
End
nickname String(250) ,Name('nickname')
product STRING(255),Name('product')
recurring Group,Name('recurring')
aggregate_usage String(250) ,Name('aggregate_usage')
interval STRING(255),Name('interval')
interval_count Real,Name('interval_count')
trial_period_days String(250) ,Name('trial_period_days')
usage_type STRING(255),Name('usage_type')
End
tax_behavior STRING(255),Name('tax_behavior')
tiers_mode String(250) ,Name('tiers_mode')
transform_quantity String(250) ,Name('transform_quantity')
type STRING(255),Name('type')
unit_amount Real,Name('unit_amount')
unit_amount_decimal STRING(255),Name('unit_amount_decimal')
End
quantity Real,Name('quantity')
subscription STRING(255),Name('subscription')
tax_rates String(240) ,Dim(10),Name('tax_rates')
End
as you notice, there are several occurence of 'id'
i need to get the value of id after plan:
plan Group,Name('plan')
id STRING(255),Name('id')
i cant get it via json.GetValueByName
any suggestion please
thanks.
jason
c11
nt12.62
jf3
9
Web Server - Ask For Help / Re: Windows Popup Message
« on: December 01, 2023, 01:09:35 AM »
Hi Rupert,
In addition to what Alberto suggested, i hv also used this to popup a message at the browser:
p_web.Script('ntAlert("Payment Received.","Kaching!");')
regards,
Jason
c11
nt12.62
In addition to what Alberto suggested, i hv also used this to popup a message at the browser:
p_web.Script('ntAlert("Payment Received.","Kaching!");')
regards,
Jason
c11
nt12.62
10
Web Server - Ask For Help / Re: Keyboard Field (Numeric)
« on: October 01, 2023, 08:35:38 PM »
hi osa,
i will email you.
im using nt12.61
regards,
Jason
c11
nt12.61
i will email you.
im using nt12.61
regards,
Jason
c11
nt12.61
11
Web Server - Share Knowledge / Re: Embed a button on static page which calls popup
« on: September 29, 2023, 12:18:49 AM »
Thanks Johan for sharing. But there is no attachment.
regards,
Jason
regards,
Jason
12
Web Server - Ask For Help / Re: Keyboard Field (Numeric)
« on: September 28, 2023, 09:24:21 PM »
thanks for the reply osa.
i have tried adding your code and it still looks like the attached example app. (testingkeypad procedure)
regards,
Jason
c11
nt12
i have tried adding your code and it still looks like the attached example app. (testingkeypad procedure)
regards,
Jason
c11
nt12
13
Web Server - Ask For Help / Keyboard Field (Numeric)
« on: September 28, 2023, 01:34:40 AM »
Hi Bruce,
In a memory form, i have a local data field called Amount to Pay. In touch screen environment, i want the user to press the keypad for the amount.
Thus, i declare the Amount To Pay as Keyboard. The numeric pad pops up the first time i load the form. But, after i close it, i cant open it again. Even if i type the number, the value drops into the subsequent field.
How do i get this done properly?
Please advice,
regards,
Jason
C11, nt12
In a memory form, i have a local data field called Amount to Pay. In touch screen environment, i want the user to press the keypad for the amount.
Thus, i declare the Amount To Pay as Keyboard. The numeric pad pops up the first time i load the form. But, after i close it, i cant open it again. Even if i type the number, the value drops into the subsequent field.
How do i get this done properly?
Please advice,
regards,
Jason
C11, nt12
14
Web Server - Ask For Help / conditionally disable delete button
« on: September 13, 2023, 11:17:58 PM »
hi,
i have a parent netbrowse and child netbrowse.
the change and delete button is inside the browse (default nettalk change and delete button)
i want to disable the delete button in parent browse if the child browse exist. Otherwise, enable.
whats the best way to do this?
regards,
Jason
nt12.62 c11
i have a parent netbrowse and child netbrowse.
the change and delete button is inside the browse (default nettalk change and delete button)
i want to disable the delete button in parent browse if the child browse exist. Otherwise, enable.
whats the best way to do this?
regards,
Jason
nt12.62 c11
15
Web Server - Ask For Help / Multi Language selection in nettalk server
« on: July 10, 2023, 09:50:31 PM »
hi,
i need to add a droplist above the menu header with the option EN/CH (English / Chinese).
By default, the language is English. If the site visitor select CH, all the text,button and message should be translated to chinese.
What is the best way to accomplish this translation?
Kindly advice.
regards,
Jason
C11
Nt 12.62
jf3
i need to add a droplist above the menu header with the option EN/CH (English / Chinese).
By default, the language is English. If the site visitor select CH, all the text,button and message should be translated to chinese.
What is the best way to accomplish this translation?
Kindly advice.
regards,
Jason
C11
Nt 12.62
jf3