Skip to content

Commit 4af6cad

Browse files
authored
Merge pull request #12 from codebard/rebase_to_patreon_master
Minor variable name error in unified flow example corrected
2 parents f259b94 + 7fc3f4b commit 4af6cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/unified_flow_oauth_login_register_pledge_redirect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
// Generate the unified flow url - this is different from oAuth login url. oAuth login url just processes oAuth login.
5555
// Unified flow will do everything.
5656

57-
$href = 'https://www.patreon.com/oauth2/become-patron?response_type=code&min_cents=' . $min_cents . '&client_id=' . $client_id . $scope_params . '&redirect_uri=' . $redirect_uri;
57+
$href = 'https://www.patreon.com/oauth2/become-patron?response_type=code&min_cents=' . $min_cents . '&client_id=' . $client_id . $scope_parameters . '&redirect_uri=' . $redirect_uri;
5858

5959
// You can send an array of vars to Patreon and receive them back as they are. Ie, state vars to set the user state, app state or any other info which should be sent back and forth.
6060

0 commit comments

Comments
 (0)