We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

What to do if you are not receiving payments - PayPal Billing | Forum

Skalfa LLC Partner
Skalfa LLC Dec 11 '13
Overview:

Any plugin that uses PayPall Billing  ( for example "Paid Membership") needs successfully received payments to work properly ( automatically update user role in case with Paid Membership). Payment is considered successfully received when it appears in  Admin panel>>Dashboard>>Finances .



Problem:

User has made the payment via paypal, but you don't see it on "Finance"  page of your admin panel. Because Oxwall didn't process the payment successfully,  plugins using PayPal Billing are not functioning properly.

What to do: 

First of all please make sure you are using PayPal email address instead of Merchant ID in the PayPal Billing settings.


In 90% of reported cases this happens when IPN is not configured properly in your PayPal account's settings.

What is IPN?

                             "When a customer makes a payment to you or a payment is reversed or refunded, PayPal will post
                               a notification to your server at the URL you specified.  When your server receives a 
                               notification,  it will then post the information, including the encrypted code, back to a secure
                               PayPal URL. PayPal will authenticate the transaction and send confirmation of its validity back to  
                               your server."

                              More info at: https://www.paypal.com/...acc/ipn-info-outside

PayPall Billing plugin requires IPN to be set, otherwise your site will not be able to "exchange" data with PayPal, and as a result will not be able to receive payments.

Log in to your PayPal Account>>Profile > My selling tools > Instant Payment Notification.

IPN URL you need to use is:

http://sitename.com/billing-paypal/order/notify 

Where:
sitename.com - is the URL of your powered by Oxwall site.
 
Once changes are done, try to make the payment and see whether it appears in "Finance" page.

The Forum post is edited by Skalfa LLC Jan 21 '15
Wayne
Wayne Sep 16 '14
Actually path to IPN is set like this http://www.yoursite.com/folder of oxwall on your site if any/ow_plugins/billing_paypal/controllers/order.php/notify  else it wont work.
Виталий
Виталий Dec 10 '14

Quote from Brian I did this and I am still not receiving payments! Any ideas? Website code? Paypal? Hosting?
The same problem I have
Skalfa LLC Partner
Skalfa LLC Dec 10 '14
Виталий, please describe the problem in more details. What do you mean by saying 'I am still not receiving payments!'?
Виталий
Виталий Dec 11 '14

Quote from Skalfa LLC Виталий, please describe the problem in more details. What do you mean by saying 'I am still not receiving payments!'?

1. Install the plugin

2. Specify the plugin Merchant business ID

3. Specify the PPI in your account PayPal

Payment takes place, the money goes into my account with PayPal. But in the admin area payment is not displayed and the user who joins the balance did not receive credit.

Skalfa LLC Partner
Skalfa LLC Dec 11 '14
Виталий, have you set your ID or email in the "Pay Pal Billing" plugin setting? 
Can you check ow_base_log database table and send us errors related to payment? 

Finally check the payment status  - it should be active.

Виталий
Виталий Dec 12 '14

Quote from Skalfa LLC Виталий, have you set your ID or email in the "Pay Pal Billing" plugin setting? 
yes


Quote from Skalfa LLC Can you check ow_base_log database table and send us errors related to payment
attach
Quote from Skalfa LLC Finally check the payment status  - it should be active.

active


Attachments:
  ow_base_log.sql (4Kb)
Ang Rach
Ang Rach Dec 16 '14

Hi we installed the oxwall paypal plugin for customers to pay and upgrade memberships etc (we have the paid membership plugin installed) it allows payment to be made from the customer, paypal accepts payment, but the confirmation back to our site is not coming through to our finance page, nor is the membership automatically upgrading for the customer.


PayPal have said our IPN url is incorrect? Is the correct IPN url https://www.mywebsite.com/PayPal_IPN OR https://www.mywebsite.com/billing-paypal/order/notify (we currently have it set as this)


[We have put the Merchant ID in the admin of our site] Any help is appreciated, Thank you.

Skalfa LLC Partner
Skalfa LLC Dec 16 '14

Виталий, could you please PM your admin and cPanel access details, so we could check into this issue.


Ang Rach, do you have SSL certificate enabled on your site? If so, the IPN you've mentioned (https://www.mywebsite.com/billing-paypal/order/notify) is correct. If not, you should use the protocol in the IPN URL instead of


Also, please make sure that you are using the latest version of PayPal plugin. The version is 7700.


Finally, due to some problems with the relationship between fsockopen and SSL, we needed to change the method of reading the content to file_get_contents. So, please check the /ow_plugins/billing_paypal/classes/paypal_adapter.php file to see if the isVerified function looks the following way:


public function isVerified( $post )

    {

        $sandboxMode = $this->billingService->getGatewayConfigValue(self::GATEWAY_KEY, 'sandboxMode');

        $hostname = $sandboxMode ? 'www.sandbox.paypal.com' : 'www.paypal.com';


        $nvpStr = '';

        foreach ( $post as $key => $value )

        {

            $value = urlencode(stripslashes($value));

            $nvpStr .= "$key=$value&";

        }

        $nvpStr .= 'cmd=_notify-validate';


        $str = file_get_contents('' . $hostname . '/cgi-bin/webscr?' . $nvpStr);


        return mb_strstr($str, 'VERIFIED') !== false;

    }

}

Виталий
Виталий Dec 17 '14
I can give details. Who do I contact?
Ang Rach
Ang Rach Dec 17 '14
Hi, thank you for your help, yes we have SSL certificate and the latest plugin and the code you have given matches what we have - we have managed to fix it using our paypal email address rather than merchant id.


Thanks 

Skalfa LLC Partner
Skalfa LLC Dec 18 '14
Ang Rach, thank you for sharing the solution.


Виталий, send the details through PM here: http://www.oxwall.org/user/skalfa

Kenneth
Kenneth Dec 26 '14
Any updates on fixing this problem? I have my merchant ID should I switch it to my e-mail? I am using.


https://cimmarian.com/billing-paypal/order/notify  

Kenneth
Kenneth Dec 26 '14

Quote from Kenneth Any updates on fixing this problem? I have my merchant ID should I switch it to my e-mail? I am using.


https://cimmarian.com/billing-paypal/order/notify  

Switched to email however I am still getting a white screen with no payments showing. I do get them to my paypal though.
Abbey
Abbey Jan 3 '15

Quote from Wayne Actually path to IPN is set like this http://www.yoursite.com/folder of oxwall on your site if any/ow_plugins/billing_paypal/controllers/order.php/notify  else it wont work.

can some one clarify which url it is... since I'm seeing a lot of "it doesn't work"
Skalfa LLC Partner
Skalfa LLC Jan 16 '15

Kenneth, you should use your PayPal email address. As for the white screen - you shouldn't  see anything on this page. This page is created for the PayPal. You just need to indicate this URL in your PayPal account settings as IPN URL. If after you make all settings described above, you will keep facing this issue, please check the ow_base_log database table for the errors related to the payment.


Ang Rach, does the problem still exist? If so, please provide us with as detailed information as possible and we will try to find the proper solution.


Abbey, as it's stated in the instructions in the first post - you should use this URL: http://sitename.com/billing-paypal/order/notify. ;


Replace the sitename.com with your site domain and change the protocol if you are using https protocol instead of http

Also, could you please specify what do you mean by saying "it doesn't work"? Could you please provide us with more information.

Ang Rach
Ang Rach Jan 21 '15
Hi Skalfa LLC,


Yes we are still having the same problem. We have turned IPN in Paypal off and the payments seem to be going through fine, credits are being added to users and it is showing up in the finance page. Does it matter that the IPN in Paypal is turned off? Will this cause us any problems? When we turn IPN back on we are still getting the error messages as above


Thank you for your help 

Cindy Tayyah
Cindy Tayyah Jul 13 '15
Hello


I am looking at similar plugin, but i want to pay my users when they submit their points for cash out


Does this work for that?


Kind Regards

Cindy

Skalfa LLC Partner
Skalfa LLC Jul 14 '15
Cindy, could you please provide us with more details?
Pages: 1 2 »
This topic is sticky
You do not have permission to reply this topic