CompleteWRDTestpayment (open)
Accept or reject testprovider payment
Syntax
LOADLIB "mod::wrd/lib/testfw/payments.whlib";
MACRO CompleteWRDTestpayment(STRING payurl, STRING approvetype)
Parameters
STRING payurl
Payment URL as received in the payment submitinstruction
STRING approvetype
Either 'approved' or 'failed'
Description
Navigates to the requested payment URL (if using the test-provider) and click the specified approval button. Use this when testing payment flows from HareScript tests