Restore transactions apple question

In my app I entered the purchases in the app.

But I did not put a button for restore it. so Apple rejected my app.

Can I simply put a restore button and enter the code in such a way that it works?

It is sufficient for me to send a call to “store.restore()”?

I do not need access to a game center or something else?

If anyone needs this later, I confirm that is sufficient a button  that calls “store.restore()”. My app has been approved.

Naturally the “transactionListener” function he must manage everything well. 

However no connection as gameCenter or login of any kind.

If anyone needs this later, I confirm that is sufficient a button  that calls “store.restore()”. My app has been approved.

Naturally the “transactionListener” function he must manage everything well. 

However no connection as gameCenter or login of any kind.