Giter Club home page Giter Club logo

billplz's People

Contributors

abdusfauzi avatar adimixx avatar ameershah48 avatar crynobone avatar h2akim avatar hanafiah avatar kamudrikah avatar khairahmanplus avatar luqmanrom avatar nasrulhazim avatar nyholm avatar rained23 avatar rootchips avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

billplz's Issues

REDIRECT AFTER PAYMENT

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.

Real-time Payment Order

  • Library Version: 5
  • API Version: v4
  • PHP Version: 7.4

Description:

Payout V4 is no longer available

Steps To Reproduce:

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.

Transaction Resource

Seems like Transaction can be use in 2 ways:

$billplz->bill()->transaction()

and

$billplz->transaction->show()

Should this be 1 only?

Optional redirect_url not set

  • Library Version: 4.1
  • API Version: v3
  • PHP Version: 7.2.19

Description:

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."
];

Steps To Reproduce:

The same codes as above.

Guzzle Http Package Conflict on Laravel 8

  • Library Version: 4.2.0
  • Laravel Version: v8.16.1
  • PHP Version: 7.4.10

Description:

image

Steps To Reproduce:

Create a new Laravel project, and then composer require jomweb/billplz

Remove v2 API

v2 API going to be EOL (End of Life) by 30 October 2016, might as well removed it.

Purpose and usage of creating Transaction , Banking

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??

image
image

[Suggestion] Using array as a single params on bill creation.

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.

Callback not triggered

I am using staging environment but when I check access.log, there's no callback URL being accessed.

Not Get Redirect URL

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...

Laravel compatibility

Can this package use in Laravel 5.5,
And i found "jomweb/billplz-laravel" ,
But the documentation doesn't include any tutorial of initalize a bill, is the same with current package???

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.