What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Fixed All payments result in error

apsmith21

Member
Hi,

Just activated this plugin today and we're getting the same problem as reported over at the Xenforo board -

https://xenforo.com/community/threads/xfa-forum-sales-xf2-paid.143675/post-1262415

All attempts to purchase a sale item go to PayPal, but on confirming payment returns to my site with the following error:

Oops! We ran into some problems.
There was an error processing your payment

No errors are shown in the server error log.

A little more info - the page it's failing is the following

../forum-sale-purchase-done?token=MYTOKEN&PayerId=MYID

Also, it appears that on the very first attempt (so it fails and I try again for that listing), there is indeed an entry into the xfa_fss_transaction table that contains all data except for the "txn_id" field - this field is blank (if that matters) and there are no entries in this table for subsequent attempts.
 
Last edited:

Clement

Freaky Coder
Staff member
Hi,

The txn_id is only set once the purchase done is validated hence why it stays empty.
The transaction is created at the very beginning.

Regarding the issue, do you confirm what you stated on xf.com ?
Where you able to confirm it's induced by the percentage on sale deactivated ?
Or is it just a guess.

Clément
 

apsmith21

Member
Hi,

The txn_id is only set once the purchase done is validated hence why it stays empty.
The transaction is created at the very beginning.

Regarding the issue, do you confirm what you stated on xf.com ?
Where you able to confirm it's induced by the percentage on sale deactivated ?
Or is it just a guess.

Clément

I was wondering if it might be related, but that person over on that board doesn't even have the Marketplace plugin installed, so I disregarded that as a potential issue when he said that he only had the forum sales plugin and the core installed.

I considered pm'ing him to get a list of the plugins he has installed to see where the conflict is but have not done so.
 

apsmith21

Member
Just a follow up message - I did just now disable the Marketplace plugin and re-run my test and I can confirm that it still fails when that plugin is disabled, so I don't think it's the problem.
 

Clement

Freaky Coder
Staff member
No I don't think it is either as the payment part are both managed by the Core add-on.

I believe it's not possible to get access to your forum ftp ?
If not I might guide some code to add to troubleshoot.
 

apsmith21

Member
No I don't think it is either as the payment part are both managed by the Core add-on.

I believe it's not possible to get access to your forum ftp ?
If not I might guide some code to add to troubleshoot.

I can get you FTP access, I'll pm the details to you in a moment.
 

apsmith21

Member
Ok but I'll also need an account with rights to purchase.

All registered accounts on my forum can purchase, so you can create an account and be ready to go, as long as it's valid.

I have a test $1.00 listing you can try once you are ready, let me know.
 

Clement

Freaky Coder
Staff member
Ok will check out later, finishing the build of the MOTM add-on port to xF2 right now.
 
Top