Fix payment_id bug

This is untested but it should hopefully fix issue #61 on the main repo.  Looks like extra accidentally got passed by value rather than reference.