Hello Fonant,

Thank you for this module. In my case it's really useful when I actually am using ubercart.

I installed the module and configured it.

I put the button code on a page ( I think that's what I am supposed to do)

The button shows but when I click on it it just redirects back to the same page.
I don't see any errors in the logs.

I know you only have this in sandbox but

Any ideas.

Thanks so much

Phil

Comments

fonant’s picture

Eeek! Sorry for the very delayed response, I hadn't set up my account to be notified on new issues.

The easiest way to add the payment form is to add one of the two blocks that this module provides. One displays all the time, the other only displays when the current user has zero points.

You need code like this to display the button:

$amount = 1.23;
$currency_code = 'GBP';
$html = theme('lm_paypal_userpoints_button', $amount, $currency_code);
fonant’s picture

Assigned: Unassigned » fonant
Category: bug » support
Status: Active » Fixed
fonant’s picture

Status: Fixed » Closed (fixed)