WebPay: Fix API calls

Closes #1338