jomweb / billplz Goto Github PK
View Code? Open in Web Editor NEWPHP framework agnostic library for working with BillPlz API v3 and beyond...
License: MIT License
PHP framework agnostic library for working with BillPlz API v3 and beyond...
License: MIT License
Hello, i want to build redirect after the payment but i have the problem when i execute
Expected $billplz to be an array!
above is a message when I use $bill->redirect($_GET)
and i want to asking again, how do you know json from $bill->redirect when the order has been completed or is successful?
Thank you.
Is there any possible way to set the "due_at" date during the creation of the bill?
Payout V4 is no longer available
To ensure a smooth transition, we will halt our next working day Payment Order services from 8 May 2023 to 9 May 2023 in order to prepare the migration process. After this date, you will no longer be able to use our next working day Payment Order. You are required also to create new collection for the new real-time Payment Order.
Seems like Transaction can be use in 2 ways:
$billplz->bill()->transaction()
and
$billplz->transaction->show()
Should this be 1 only?
Sending the following does not set the redirect_url
from BillPlz
$response = $bill->create(
'inbmmepb',
'[email protected]',
null,
'Michael API V3',
\Duit\MYR::given(200),
'http://example.com/webook/',
'Maecenas eu placerat ante.',
['redirect_url' => 'http://example.com/redirect/']
);
Doing var_dump($response->toArray());
will produce the following:
return [
"id" => "8X0Iyzaw",
"collection_id" => "inbmmepb",
"paid" => false,
"state" => "overdue",
"amount" => \Duit\MYR::given(200),
"paid_amount" => \Duit\MYR::given(0),
"due_at" => new \DateTime('Y-m-d', "2015-3-9"),
"email" => "[email protected]",
"mobile" => null,
"name" => "MICHAEL API V3",
"url" => "https://www.billplz.com/bills/8X0Iyzaw",
"reference_1_label" => "Reference 1",
"reference_1" => null,
"reference_2_label" => "Reference 2",
"reference_2" => null,
"redirect_url" => null,
"callback_url" => "http://example.com/webhook/",
"description" => "Maecenas eu placerat ante."
];
The same codes as above.
Hi,
By referring to https://github.com/jomweb/billplz/blob/master/src/Three/Bill.php
I can't set the redirect_url parameter.
Is there anything I miss out?
https://billplz.com/api#collections13
v2 API going to be EOL (End of Life) by 30 October 2016, might as well removed it.
I'm using this package along with Laravel 5.5, and i have successfully create a bill, and redirect to the Billplz billing page and able to complete it in sandbox mode, this package is great.
But i have a question, after bill in Billplz is paid successfully, the record in Billplz account also shown "Paid", is that compulsory to create/ run "Transaction" and "Banking" step mention in documentation??
If i am not running, go through the "Transaction" and "Banking" step, will it affect the payment that paid by user?? like the payment is not complete or something?? (status show paid, result also show paid)
And most important thing is what is the "Purpose" of running "Transaction" and "Banking" step??
I'm sure there is more elegant way to handle incoming callbacks from BillPlz.
Line 3 in b02c873
Example
$bill->create($collectionId, array $params = [])
or
$bill->create(array $params = [])
I think by using this version will enable more freedom on how they might use the method itself.
Plus improving the speed of the code without needing to do array_merge.
I am adding this to my fork, I can submit PR if you like the idea.
I am using staging environment but when I check access.log, there's no callback URL being accessed.
Hi, can you help me?
I have a question, this is my code below:
$response = $bill->create( $id_collection, '[email protected]', null, 'Buy a product', '4000', 'https://apitest.com/payment/callback', 'Buy a product', [ "redirect_url" => "https://test.com/redirect", "reference_1" => "aaa", "reference_2" => "bbb" ] );
Why I can not get redirect_url?
[email] => [email protected] [mobile] => [name] => BUY A PRODUCT [url] => https://billplz-staging.herokuapp.com/bills/4vv7cfla [reference_1_label] => Reference 1 [reference_1] => aaa [reference_2_label] => Reference 2 [reference_2] => bbb [redirect_url] => [callback_url] => https://apitest.com/payment/callbsack [description] => Buy a product [paid_at] =>
the redirect_url is empty
please help me, thank you...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.