Support order intent for payment creation

No test, but this is a simple change and it doesn't change any logics. If you want some tests, let me know, and I can create some.