Is it Possible to make Payment process fake?

by fake, I mean not charging any money…
I just want experience the entire payment process without using actual money.
is it possible for open source version?

maybe need modify some code?

I just want know what happen after payment, can I see a record of my payment in profile page or where?
(I can’t find any page that display payment record)

Thank you very much Sharetribe team.
Have a great weekend :smiley:

Base on code and guess,
I run this:

PaypalPayment.create(
community_id: 1,
transaction_id: 1,
payer_id: 1,
receiver_id: 2,
merchant_id: 1,
currency: "USD",
payment_status: "completed",
commission_status: "not_charged"
)

I was hoping to see payment record on some page, But can’t find it.

I think for now, Sharetribe is not support for display payment record?

Here’s a Pull Request I’ve been working on. It’s not yet in master, but it adds a PayPal fake, which can be used for development and testing purposes: https://github.com/sharetribe/sharetribe/pull/2598

In addition, I think you can use PayPal sandbox account if you want to try it end-to-end with PayPal.

1 Like

Thank you very much ~~

@111 The fake implementation of PayPal is now merged to the master branch. Let me know if you have troubles taking it into use! And have a look at the documentation

1 Like

Thank you !
:smiley:

Hi. :blush: @rap1ds
I read the document and follow the document.
this is my config/config.yml file

# Locally override default configurations
#
# This file overrides configurations set in `config/config.defaults.yml`.
# Keep in mind that environment variables override setting in this file.
#
# Usage:
#
# Copy this file from `config/config.example.yml` to `config/config.yml`
#

development:
  # Add local `development` environment configuration overrides here
  paypal_implementation: fake
  fakepal_store: 'tmp/dev_fakepal.store'

test:
  # Add local `test` environment configuration overrides here

staging:
  # Add local `staging` environment configuration overrides here

production:
  # Add local `production` environment configuration overrides here


But still.
after click Buy button. still as before only have input box to chat.

Am I doing anything wrong?

I think after fake payment enable. it should have “Process to Payment” button under “Send message” button. right?

Thanks

Hi Cheng,

Here the same. Do you have any success on this?

thanks

Did this work for anyone?

Regards,
Praveen

Try this.