Jump to content

Subscriptions Manager


sijad

Recommended Posts

Thanks for the reply, but are you sure?

That sort of configuration is defined when you design a custom button - "Edit your PayPal payment button" in PayPal.

When creating the button, there is an option:

Step 3: Customise advanced features (optional)

Need your customer's postal address?

Yes / No

This is all well and good, however I do not have any control over the PayPal Checkout button in IPB.Subscriptions to enable this feature on the button.

That is unless you know how this can be done, or where in paypal this needs to be configured? Have you actually configured it so you do receive the users postal address?

I've just performed a test subscription using my old subscription system from my old website and it's passed the address with no configuration PayPal side.

Many Thanks.

Pete

Link to comment
Share on other sites

I retract my previous statement as I couldn't find the information you needed (PayPal changes a lot). I was certain it was on the PayPal side of things, it appears it's both.

Specifically you need to change the button type that's being used.

This will require:

1) Create a shopping cart button on the PayPal site and generate the cart button code.

2) Use the cart button code in place of the subscription button code that is currently being used in the application. (May be something you can't do easily).

Regardless those are the steps you will need.

This is now being handled this way at PayPal because each button actually flags the information you will need to fulfill the customer's order. In the instance of the subscription button they assume it's an online purchase no shipping details needed. When it's a cart button they assume it's a physical product that needs shipping so the customer's information is included in the emails PayPal sends as verification.

So in essence you're trying to use the subscription addon to handle shopping cart features which probably won't be supported, however Nexus will do all of that for you, integration is easy and converting is easy, cost isn't so easy. Up to you.

Sorry for the run around.

Link to comment
Share on other sites

I don't think it is a big thing to fix in all fairness, looking at the code generated by IP.Subscriptions and the options are simply controlled by attributes.

This one stands out as a possible attribute:

<input type='hidden' name='no_shipping' value='1' />

I will need to track down

I will need to track down where this is stored and change the value to 2 and see what happens.

Paypal HTML variables.

no_shipping

Optional

Do not prompt buyers for a shipping address.

Allowable values are:

  • 0 – prompt for an address, but do not require one

  • 1 – do not prompt for an address

  • 2 – prompt for an address, and require one

The default is 0.

Although I have purchased Nexus IP.Subscriptions fits my needs better.

I.E prompt for subscription on signup, hook in drop down, and the ability to manually add transactions that I have inputted from my old system - not sure that nexus can do this.

If anyone can offer any assistance on this id be grateful.

Thanks.

Link to comment
Share on other sites

As for Nexus I agree it's a bit overkill for most needs, however if you're going to sell widgets for someone else like they do here where authors charge for mods but IPS collects the money then NEXUS is the only way to go. It also has most of the same hooks and features as IP.Subscriptions if not they would be easy to duplicate. Though admittedly I haven't really played with the current release of NEXUS so some things may have changed.

Link to comment
Share on other sites

  • 3 weeks later...

Hi all.

Would like to include "member ID" in the email that's generated to the user who has made a subscription.

The one entitled "subscription payment success"

I've had a good look, but can't find it?

Either that, or I need modify the PayPal email to include the custom field that includes the member ID...

Cheers.

Pete

Link to comment
Share on other sites

Hi, you have to change an php file manually (ipbDir/admin/applications_addon/other/subscriptions/sources/classes/classGateway.php):

IPSText::getTextClass('email')->buildMessage( array(
	'NAME'     => $member['members_display_name'],
	'COST'     => $newPackage['sub_cost'],
	'DATE'     => $this->lang->getDate( time(), 'DATE' ),
	'PACKAGE'  => $newPackage['sub_title'],
	'EXPIRES'  => $email_end_date,
	'LINK'     => $this->settings['base_url_with_app'],
)	);

to:

IPSText::getTextClass('email')->buildMessage( array(
	'NAME'     => $member['members_display_name'],
	'COST'     => $newPackage['sub_cost'],
	'DATE'     => $this->lang->getDate( time(), 'DATE' ),
	'PACKAGE'  => $newPackage['sub_title'],
	'EXPIRES'  => $email_end_date,
	'LINK'     => $this->settings['base_url_with_app'],
	'MEMID'    => $member['member_id'],
)	);

now you can use MEMID key in your mails

Link to comment
Share on other sites

Hi, you have to change an php file manually (ipbDir/admin/applications_addon/other/subscriptions/sources/classes/classGateway.php):

IPSText::getTextClass('email')->buildMessage( array(
	'NAME'     => $member['members_display_name'],
	'COST'     => $newPackage['sub_cost'],
	'DATE'     => $this->lang->getDate( time(), 'DATE' ),
	'PACKAGE'  => $newPackage['sub_title'],
	'EXPIRES'  => $email_end_date,
	'LINK'     => $this->settings['base_url_with_app'],
)	);

to:


IPSText::getTextClass('email')->buildMessage( array(
	'NAME'     => $member['members_display_name'],
	'COST'     => $newPackage['sub_cost'],
	'DATE'     => $this->lang->getDate( time(), 'DATE' ),
	'PACKAGE'  => $newPackage['sub_title'],
	'EXPIRES'  => $email_end_date,
	'LINK'     => $this->settings['base_url_with_app'],
	'MEMID'    => $member['member_id'],
)	);

now you can use MEMID key in your mails



Hi buddy, I've made the changes but still don't see the memberid on the success emails generated from the subscriptions add on. Any ideas? Do I need re cache anything etc?

Cheers

Pete
Link to comment
Share on other sites

hi, the language bit of success is sm_email_success, and the value of:

<#NAME#>,

You have been sent this email as your subscription payment has been completed.

----------------------------------------------------------------------
Details
----------------------------------------------------------------------
Date: <#DATE#>
Package: <#PACKAGE#>
Cost: <#COST#>
Expires: <#EXPIRES#>

etc

did you add some thing like <#MEMID#> to this lang bit? some thing like:

<#NAME#>,

You have been sent this email as your subscription payment has been completed.

----------------------------------------------------------------------
Details
----------------------------------------------------------------------
Date: <#DATE#>
Package: <#PACKAGE#>
Cost: <#COST#>
Expires: <#EXPIRES#>

MEMID: <#MEMID#>

etc

Link to comment
Share on other sites

hi, the language bit of success is sm_email_success, and the value of:

did you add some thing like <#MEMID#> to this lang bit? some thing like:

can you release a patch or something .

users buy VIP , then they cancel it and i get no money but the system changes their group ..

i dont even understand how they can cancel it :(

Link to comment
Share on other sites

Ahhh, I've done that but the email generated doesn't display the membership Id

Date: Today, 09:57 PM
Package: Club Membership - Option 1
Cost: 10.00 GBP
Expires: 16 Oct 2014
Club Membership #:

Can you please upload the tweaked class gateway.php file, I think my iPad FTP client may be playing silly buggers :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...