Forum Replies Created
-
AuthorPosts
-
serveothers
ParticipantThat is frustrating that I can’t direct them to subscription checkout page right after they register. I don’t want to send them to the subscription checkout page right away because that’s a little scammy and unprofessional. But I also don’t want them to go through the process of clicking get started, registering, back to the main page, clicking another button to get to the checkout, and finally paying. It’s either too few steps or too many, you know what I mean? Any solutions that you can think of?
serveothers
ParticipantSo they’ll just email me or what?
serveothers
Participant@mbrsolution I need to redirect the newly registered users to the subscription page right after they complete the registration. There isn’t any way you think this could work? You can’t execute a shortcode after registration is complete?
serveothers
Participantserveothers
ParticipantWhat I have currently: Register your account, then re-directs to paypal homepage.
What I want: After you Register your account, then it takes you to the paypal subscription checkout.
I just need the PHP to execute a click on some short code so that It takes newly registered users to the correct place.
(((This code makes a button apear on the page, when you click it, it will take you to the subscription checkout. I want the php too take you to this page after registration is complete and entering “https://www.paypal.com/cgi-bin/webscr” dosn’t work)))
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”><input name=”cmd” type=”hidden” value=”_s-xclick” />
<input name=”hosted_button_id” type=”hidden” value=”94YZKTSX4ZC5Q” />
<input alt=”PayPal – The safer, easier way to pay online!” name=”submit” src=”https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif” type=”image” />
</form>serveothers
ParticipantThanks for the fast reply @mbrsolution. No, so I wanted it to take you to the paypal checkout page AFTER a new user completes their registration. What I have below just redirects them to paypal homepage but when you click the button on my site it takes you to the correct place. So I want to execute a shortcode button press after registration to take them to the correct page.
/**redirect new users to subscribe now page**/
add_action(‘swpm_front_end_registration_complete’, ‘sam_after_registration_redirection’);
function sam_after_registration_redirection()
{
$url = ‘https://www.paypal.com/cgi-bin/webscr’;//TODO – Specify the URL that you want to redirect to
wp_redirect($url);
}function executeShortCode() {
<?php echo do_shortcode(‘[yourshortcode]’); ?>
}serveothers
Participantboxedairsoft.com
serveothers
ParticipantI want to execute a shortcode instead of a link. How can I do this? When I enter in the url I want to redirects again to a different spot. If you got to my site and hit the GET STARTED button it takes to to paypal checkout at the link https://www.paypal.com/cgi-bin/webscr. However when I enter in that link after new users register it takes them to their paypal home….? Any solutions?
-
AuthorPosts