add linepay & crdit card

This commit is contained in:
pichet 2022-10-27 14:02:58 +07:00
parent c23958c151
commit b715149249
12 changed files with 216 additions and 257 deletions

View file

@ -14,7 +14,7 @@
Var Timeout = 0
Var GetPayInfoFlag = 0
Var Seeker.CodeChannel = 0
;Var Seeker.CodeChannel = 0
;Var VendingQRCode = "ERROR"
;VendingQR ON
@ -36,6 +36,24 @@
Var TelephoneNumber# = ""
Var PlaySoundLag = ""
Var InvisibleCCard = "Invisible"
If Seeker = "next" Then
Var SeekerCurr = "curr"
If SeekerCurr.CreditCard = 1 Then
Var InvisibleCCard = "Enable"
EndIf
EndIf
Var WalletEnable = "Enable"
If Seeker.IntVendingCampaign > 0 Then
DEBUGVAR "Discount Disable Wallet"
Var WalletEnable = "Disable"
EndIf
Var InvisibleCCard = "Enable"
</EventOpen>
<Timeout> 1000 </Timeout>
@ -51,8 +69,8 @@
Var PayState1 = "PressForever"
Var PayState2 = "Enable"
Var QRChannel = 0
Var Seeker.CodeChannel = 0
;Var QRChannel = 0
;Var Seeker.CodeChannel = 0
If CART_COUNT >= 1 Then
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
Else
@ -133,10 +151,10 @@
<Button>
<X> 209 </X>
<Y> 888 </Y>
<State> "Enable" </State>
<State> WalletEnable </State>
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_true.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_true.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bp_pay_with_true.png" </FilenameDisable>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_true.png" </FilenameDisable>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -200,10 +218,10 @@
<Button>
<X> 441 </X>
<Y> 888 </Y>
<State> "Enable" </State>
<State> WalletEnable </State>
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_shoppy.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_shoppy.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bp_pay_with_shoppy.png" </FilenameDisable>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_shoppy.png" </FilenameDisable>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -266,10 +284,10 @@
<Button>
<X> 673 </X>
<Y> 888 </Y>
<State> "Enable" </State>
<State> WalletEnable </State>
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_dolfin.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_dolfin.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bp_pay_with_dolfin.png" </FilenameDisable>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_dolfin.png" </FilenameDisable>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -331,7 +349,7 @@
<Button>
<X> 209 </X>
<Y> 1112 </Y>
<State> "Enable" </State>
<State> WalletEnable </State>
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_linepay.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_linepay.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_linepay.png" </FilenameDisable>
@ -396,7 +414,7 @@
<Button>
<X> 209 </X>
<Y> 1112 </Y>
<State> "Enable" </State>
<State> "Invisible" </State>
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenameDisable>
@ -432,7 +450,7 @@
<Button>
<X> 441 </X>
<Y> 1112 </Y>
<State> "Enable" </State>
<State> InvisibleCCard </State>
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenameDisable>
@ -471,8 +489,8 @@
<EventClick>
Var PayState1 = "PressForever"
Var PayState2 = "Enable"
Var QRChannel = 0
Var Seeker.CodeChannel = 0
;Var QRChannel = 0
;Var Seeker.CodeChannel = 0
If CART_COUNT >= 1 Then
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
Else