This page demonstrates how a single GoCardless test payment (with a fixed amount) works in the GoCardless WordPress plugin.
Feel free to try out the link below to make a GoCardless test payment. It’s set to use the GoCardless sandbox, i.e. test mode, which means you won’t be charged and you can follow the transaction through to the receipt page.
Test Bank Account Details
You’ll need to use the test sort code 20-00-00 and account number 55779911 when you enter your details, otherwise GoCardless won’t be able to process the test transaction.
The Payment Link…Try out a test payment
How You Do It
Our user details have been set up in the admin section of the plugin. It’s really simple to do – you just copy and paste the relevant details from your GoCardless account. Then set up the type of payment you want to use and include it in a redirect flow. (“Redirect flow” is GoCardless’ terminology for the payment route your customer takes from your site, to GoCardless’ hosted payment pages, and back to your site to complete the transaction.)
Then you just put the “gcp_redirect_flow” shortcode on your site’s payment page and it will automatically create the payment link for you. You can create an infinite number of payment options (e.g. one-off payments, recurring payments, or variable payment amounts (name your own amount). Each of these payment options will have an unique reference number in the admin area. In this case we are using the first payment option that we have set up. It is a one-off payment for £1.50 so we need to let the shortcode know which payment we want. We want “gcp_redirect_flow ref=1” which produces the link in the box above.
That’s it! Simple. There’s nothing else needed to make a GoCardless test payment.
Ready To Buy?
This plugin is available for purchase only at CodeCanyon.