#3368 - Usergroup subscriptions don't work through PayPal

  • By
  • Added
  • 1 view
Identifier #3368
Issue type Trivial issue (does not break functionality)
Title Usergroup subscriptions don't work through PayPal
Status Closed (no changes needed)
Handling member Chris Graham
Addon ecommerce
Description I've done some investigating, and in ECOM_SUBSCRIPTION_BUTTON_VIA_PAYPAL.tpl:

The 'CMD' variable has a value of '_xclick-subscriptions'. With the use of this value, and once redirected to PayPal's checkout, an error is given:

"Things aren't working right now. Try again later."

When we change the value to '_s-xclick', we get this error with PayPal:
"Some required information is missing."

The only way I found to fix this issue is to create a custom button through my PayPal account, and add the button ID defined by an additional variable in the input form:

'<input type="hidden" name="hosted_button_id" value="myPayPalButtonID">'

HOWEVER, doing this requires me to set the price and other options relating to the subscription through PayPal, including the price and subscription term. Even if these values are set for the usergroup subscription in Composr, this value is ignored and the values set through my PayPal account are favored.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated