Payment Extension Using Paid Marketplace API Without Hosting
To access the api documentation go to this site
Download the aia file to see how each function works
This is my first extension i hope you like it i accept donations so it can be helping me in my studies
Let’s start with the explanation of the extension
Get Payment Methods
See all available payment methods and get a list with the details of each one and their properties.
This text will be hidden
Get Document Types
See all types of documents available by country and get a list with the identification and details of each one.
List Of Your Item's Categories
You can find your item’s category list here. If you can’t access the category values, send the others value in the category_id attribute.
Generate a preference with information about a product or service and get the URL needed to start the payment flow.
Find all the preferences information generated through specific filters or by a specific date range.
Get Id Preference
View all payment information for a product or service with the desired preference ID.
Cancel a purchase for a specific payment.
Create a partial/full refund for a specific payment. If the amount field is filled in, a partial refund will be created, otherwise a full refund will be created.
See all refunds for a specific payment.
Get Specific Refund
Consult specific reimbursement of a certain payment.
Create a payment and add all the information you need. Be sure to add your payment details and customer details.
Pix is an instant electronic payment method offered by the Central Bank of Brazil to individuals and legal entities. It is possible to offer this payment option through QR code or payment code.
create payments via bank slips
create lottery payments
Search In Payments
Searches and returns payments made in the last twelve months from the search date.
Get Payment Id
See all information for a payment using the payment ID.
To download the extension or demo aia access this link on github Download
If I helped you then donate or contact me to make a donation
If you liked this extension give it a like!
Any questions I will answer as soon as possible
This is an extension I made to help the community grow it can be used in many types of applications
August 17, 2022, 2:06pm
What a great extension, very valuable for the region, I use the API and the host, now I will try it. Thanks also for making it free and contributing to the community.
Attention, some errors that had in the extension, such as creating payments with broken values, were corrected which error that appears report so that it can be corrected
August 26, 2022, 12:06am
thank you for your contribution
please follow the naming conventions
If you are developing an extension, then please follow the naming conventions, which is UpperCamelCase for the package name as well as for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .
What does UpperCamelCase mean?
UpperCamelCase (part of CamelCase ) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first l…
for example: your extension name
mercadopago should be MercadoPago (UpperCamelCase) and the socket names should follow the lowerCamelCase notation, for example excludedpaymentmethods should be excludedPaymentMethods or streetname should be streetName, etc. also there is a typo in acessToken (here you followed the lowerCamelCase notation…)… this should be accessToken
Thanks for the feedback, I’ll fix it this week
This post was flagged by the community and is temporarily hidden.
Only videos in English are allowed. Please respect the forum rules and other users by posting videos that are only in English.
“OBS: When commenting something, do everything in English”
For it, if simple, I didn’t choose open source but I left the free extension so I don’t need to leave open code besides showing where is the link to the documentation of the market api