Other Library Creation And Pay-Pal Donations

RandomCoder

Well-Known Member
Licensed User
Longtime User
This is a question really regarding the libraries section of the Forum.
Please can someone detail the steps I need to complete when publishing a new library or point me in the direction of some already written instructions?
I know the format of what I need to add to the listing, do I also need to add the same listing information to the Wiki and if so, where do I create a new Wiki post?

I'd also like to add a donate button for my work and I'm finding the Pay-Pal website HIGHLY frustrating, it keeps taking me round in circles :confused:
One of the questions it keeps on asking is this...



I have only ever used Pay-Pal to make purchases, and have never received payments through it. Do I really need to change my account??? The odd thing is that I managed to find a page that allowed me to create various types of button code and I have been able to create a Donate button (at least I think I have), and now I can't find this page again. Maybe this is all I need?
But where do I enter the button code, do I just paste it at the bottom of my listing?

Sorry for asking what is most probably a very simple question :oops:
 

DonManfred

Expert
Licensed User
Longtime User
i´ve clicked no thanks maybe later ;)

I use paypal just for donations. i cannot say if you need a business account or not.

In the overview scroll a bit down to

Selling with paypal...
pp0018.png


Click on Sellingoptions

pp0019.png

here you can edit your buttons
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
Thanks @DonManfred I was of the understanding that a Donate button would meet my requirements too, I'm hoping for a little beer money, there's no chance of hitting the $10,000 cap of a donation account.

But do I just post the generated code into the bottom of the library thread I create?
Also, do I need to update a Wiki page and where do I find the link for this?

Thanks for the advice, I thought you might be first to reply. Your probably a mug of coffee ahead of me thanks to the time zone difference :D
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
pp0020.png


when you show the code for a button you will get a html form like this
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="AHKKJCKJE8N7W">
<input type="image" src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="Jetzt einfach, schnell und sicher online bezahlen – mit PayPal.">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>

So i build a working bb-code for my button to use it here out of this example code


Please note that i added spaces to the spiler to get it shown correctly here in the spoiler.
 
Last edited:
Upvote 0

thedesolatesoul

Expert
Licensed User
Longtime User
Just copy a link from my signature and let me have your donations. ;)
You don't need a business account, the link to create the buttons is fairly hidden. In reality you only need a PayPal address to get the donation, the link just makes it simpler.

Ask Erel for a wiki account. Personally I stopped updating it as no one checks it.

Just post to the subscribe to library updates thread. I prefer that library threads contain the full documentation and a listing of all methods and properties using warwounds xml2bb script.
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
Thanks for the info guys, sorry @thedesolatesoul I plan to use my own button code ;)
I've yet to start the documentation and need to create a couple of nice working examples so I'm hoping to be in a position to release my lib following the weekend, dependant on how much peace and quiet I get. My first job is to fix the wife's central locking on her car, could be fun! :(
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
This is the guide to creating the donate button: https://www.paypal.com/webapps/mpp/get-started/donate-button


Worth a try.
I really get the impression that Pay-Play doesn't like me! It just wants to waste my time and send me round in circles :mad:
The link you have provided doesn't work for me, I get sorry page not found :(

On a separate note the xml2bb script that @warwound kindly created is great but it gives a few strange results such as...
[*]_addview (vParentName As ConcreteViewWrapper, intColor As Object) As String
Add ColorPicker to an Activity or View

Which in my code is defined as...
B4X:
Public Sub AddView(vParentName As View, intColor As Object)

So not only is it defining the View parameter as a "ConcreteViewWrapper" it is also suggesting that there is a return value of a String when there is actually no Return value in the declaration. In your previous experience do you normally have to edit the results?
In any case its an excellent tool that will certainly save me time in formatting alone :D
 
Upvote 0

thedesolatesoul

Expert
Licensed User
Longtime User
The link you have provided doesn't work for me, I get sorry page not found
You are right, it worked yesterday and stopped working now.

Try this link: https://www.paypal.com/cgi-bin/webs...63663d3faee8d99e4111b56ef0eae45e68b8988f5b2dd

Yes the xml2bb sometimes does show me errors (but not the ones you have). Its the best tool we have and our only option.
I believe 'As String' comes as you have a B4A generated lib and by default B4A always returns a String, there is no 'void' type method in B4A. So thats not an issue with xml2bb.
The xml2bb can only parse the xml, so if B4A is generating ConcreteViewWrapper instead of View there isnt much we can do, but just wondering what does the intellisense autocomplete show? If that also shows ConcreteViewWrapper then this is something maybe needs fixing in B4A.

warwound believes that the way to improve it is using the badoclet tool rather than using this xml2bb script.
 
Upvote 0
Top