Personally I use Enjin for my ranks but I doubt it's any different for Buycraft. Usually you can just decide on the web store which commands the plugin should execute when a rank is bought.
For easier use I made an "admin" command that just has the feature to do all commands in one -> give the rank, money, items, etc.
Edit: https://prnt.sc/146pbdd there you go