Automatic redirect

  • amaier161
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 3 months ago #7659 by amaier161
Automatic redirect was created by amaier161
Hi,

Is it possible to configure JoomDonation in that way, that the donator is automatically redirected to the "Donation Completed"-site after a successful donation via PayPal?

Currently the donator has to activate the redirect manually.

Thanks, Alex

Please Log in or Create an account to join the conversation.

  • amaier161
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #7798 by amaier161
Replied by amaier161 on topic Re: Automatic redirect
Hi,

any hints with this topic?

Thanks, Alex

Please Log in or Create an account to join the conversation.

  • amaier161
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago - 13 years 2 months ago #7901 by amaier161
Replied by amaier161 on topic Re: Automatic redirect
I found some adjustments on the paypal site. There one can activate or deactivate the automatic redirect. But one has to enter a redirect URL - see attachement.

It would be greate, if there could be support for that issue.

Thanks, Alex

Attachments:
Last edit: 13 years 2 months ago by amaier161.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #7915 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Automatic redirect
Hi Alex

You can turn on Auto-redirect option within your Paypal account. The auto redirect url will be :

http://yoursite_domain/index.php?option=com_jdonation&view=complete (replace your site domain with the real url) .

However, there is one limitation here. Since the auto redirect url need to be fixed, we could not display anything related to the donation record . You cannot use any tags : [FIRST_NAME], [LAST_NAME], [DONATION_DETAIL]... in the message . You can just display a general thank you message to all donors .

Hope my explanation is clear to you .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

  • amaier161
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #7921 by amaier161
Replied by amaier161 on topic Re: Automatic redirect
Hi Tuan,

Thanks.

However, there is one limitation here. Since the auto redirect url need to be fixed, we could not display anything related to the donation record . You cannot use any tags : [FIRST_NAME], [LAST_NAME], [DONATION_DETAIL]... in the message . You can just display a general thank you message to all donors.

Does this mean, that my request in this post ( Implementing an Affiliate TrackingCode ) is also not possible?

Thanks, Alex

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #7926 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Automatic redirect
Hi Alex

You can still adding the tracking code into the Thank you message or insert it directly into the file components/com_jdonation/views/complete/tmpl/default.php .

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • amaier161
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #7936 by amaier161
Replied by amaier161 on topic Re: Automatic redirect
Hi Tuan,

The tracking code looks like this:
Code:
<script language="JavaScript" type="text/javascript" src="http://www.affiliwelt.net/tracking.- php?prid=PRID&bestid=BESTID&beschreibung=BESCHREIBUNG&preis=PREIS&js=1"></script> <noscript><img src="http://www.affiliwelt.net/tracking.php?prid=PRID&bestid=BESTID&beschreibung= BESCHREIBUNG&preis=PREIS" width=1 height=1 border=0></noscript>
As you can see, there are four placeholders which has to be replaced with real variables:
PRID - this is a system ID number, which is provided by the affiliate programm provider
BESCHREIBUNG - this is just a description
BESTID - this is the order number or donation number (or maybe the Transaction ID) - MUST
PREIS - this is the price or donated amount - MUST

Which variables do JoomDonation use for the two MUST variables? So I can insert them into the tracking code.

Thanks a lot, Alex

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt