init

We suggest to do not use this as standalone mode, But you can use it still

For using it as standalone you must set both parameters and fill them with data

Arguments
Name Type Description Required
merchant_id string Your merchant_id received from zarinpal no
sandbox bool If you want use sandbox mode or not(test mode) no
zarin_gate bool If you want to use zarin gate(its kinda like smart gateway chooser) no

Output : void

Static or normal : Static