Giving following state diagrams, build your transaction tableand schematic digrams
The first one is mealy machine, the second one is moore machine.Both inputs are S and D. And both are using D FF.
Mealy:

Moore:

LO sortofi Keet ono 00 O State s 8, 30 00 s, o Naatste SD = 00 ol. a Jo GO 5608 S 00 SOT 6000 0 Sol S,OL S
PayPal Gateway not configured
PayPal Gateway not configured