Setup Paypal micropayments account #870
Comments
Current status: We've created a Paypal account and we're waiting for Ann @ Paypal to link it to our existing account. Once that's done we'll be able to generate credentials that our platform can use. We need to implement logic in our platform to use either account depending on the total transaction cost. |
I'd vote for prioritizing this in advance of our big traffic uptick expected from snippet % increase to 50% happening on Dec 1 |
Current status: I cannot create API credentials for the micro payments account because I've triggered an unpassable security check, and there's no way to add my personal phone number to the list of allowed phone numbers. Paypal recommended that I try again tomorrow and if that fails then delete the account and recreate it. |
Okay, I've created a new Paypal account and successfully created API credentials. Ann will need to do a few approval steps on her side, but we're making progress! |
Given where we are in the campaign, is this switch now adding more risk that savings? |
I've done some more work on this today. I found a table of fees for various rates, now the only problem is figuring out a heuristic for which account to use based on the country of the donor, which I don't actually know so I need to guess... |
I am not going to be able to get this done before the holidays begin, but I wanted to document what I learned. First of all, we currently have two rates with our existing (I'll call it "macro") account:
With our new micro payments account we again have two rates:
After calculating the fee amount you'll need to round it to the nearest significant digit. In the case of currencies that have cents, that means you'll round it to the nearest cent. In the case of currencies without cents (like JPY) you'll round it to the nearest yen amount. Sample fee calculations (only for current macro account):
Holy background information batman! I'll do a new comment for the implementation. |
Okay, so, implementation. For non-USD currencies this is actually pretty easy: calculate the fee amount for the International Macro Payments and International Micro Payments and route the payment through whichever one is lower. For USD this is not as easy because we don't know whether we'll be paying the domestic rate or the international rate until we've actually completed the payment. I don't yet have a good idea for how to handle this problem... |
I ran through the math with Steph & Scott and we came to the conclusion that you can simply use the International payment rates table to calculate whether the macro account or the micro account has a better fee or not. |
cc @cadecairos as I may be needing your help on this. |
Is the goal here to set up donate with two PP accounts and choose one based on the details of the giver? |
Moving this to MozillaFoundation/Advocacy#367 |
I volunteered as tribute to figure out the process of creating a new Paypal account with our micropayments fee structure.
The text was updated successfully, but these errors were encountered: