Simple Commerce Module Does Not Work With PayPal Sandbox / Bug Report / EllisLab

This bug report is over one year old and may not be relevant.

Clarification Requested (?)

Simple Commerce Module Does Not Work With PayPal Sandbox

Version: EE 2.4.0, Reporter: Stephen Lewis (is a showstopper)

When in Sandbox mode, PayPal does not return any data in the `custom` field, upon which the Simple Commerce module relies (it should include the member ID of the purchaser).

This may be a bug on PayPal’s side of things, or it could be an official change in the way the PayPal IPN functions which is not supported by the Simple Commerce module.

The official documentation makes no mention of the `custom` variable not being returned in Sandbox mode, so I suspect it may be a PayPal issue.

Either way, it’s a big problem, for two reasons:

1. It makes it impossible to test a Simple Commerce site without making actual purchases;
2. It’s not a documented issue, and is a complete pain to track down.

Finally, it’s worth noting that this may also affect non-Sandbox mode (I haven’t checked). I doubt it, as I couldn’t find any bug reports to that effect, and this would be a pretty major issue if it also affected live sites, but figured it was worth mentioning.

Cheers,
Stephen

Comments & Feedback

  1. I should have mentioned that this issue was not introduced with EE 2.4.0; I first came across the problem on an EE 2.3.1 build.

    Stephen

  2. Hi Stephen,

    Have you contacted PayPal regarding this? There are a number of other “quirks” (to put it mildly) with their sandbox. In my experience, using their live service with very small payments is the only surefire way to test.

  3. Hi Brandon,

    Have you contacted PayPal regarding this?

    I sent a support request out into the ether, which is about as much assistance as PayPal is prepared to offer.

    In my experience, using their live service with very small payments is the only surefire way to test.

    Likewise. It’s still a complete pain though.

    Cheers,
    Stephen

  4. No argument there wink

    This does sound like a potential issue with your sandbox setup, though. The Simple Commerce Module ultimately behaves the same way across both debug and “live” modes. If you aren’t getting the ‘custom’ variable back, do make sure it’s being sent properly in the first place.

You must be logged in to comment on bug reports