fix completePurchase method by adding currency

fix completePurchase method by adding currency