Jump to content

coreyman

Members
  • Content Count

    48
  • Joined

  • Last visited

  • Days Won

    5

coreyman last won the day on March 16

coreyman had the most liked content!

About coreyman

  • Rank
    Advanced Member

Contact Methods

  • Wire
    N/A

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Make your own docker image? We did , but we are using it for development environments. Our production environment is a 'full blown vps'. I don't know why you would want to introduce the limitations of docker for your production billing system. If you want to save money that bad, maybe don't use AWS.
  2. Oh yeah I'm aware, I was just pointing him in the right direction
  3. I found this - So I tried accessing an endpoint via the attached image method in postman and it looks like we are on the right track. Looks like the arguments are as follows - "contact_info" => $contact_info, "amount" => $amount, "currency" => $currency, "invoice_amounts" => $invoice_amounts, "options" => $options, "gateway_id" => $gateway_id This method and docblock can be found in \components\gateway_payments\gateway_payments.php /** * Returns an array of HTML markup used to render capture and pay requests for non-merchant gateways * * @param array $contact_info An array of contact info including: * - id The contact ID * - client_id The ID of the client this contact belongs to * - user_id The user ID this contact belongs to (if any) * - contact_type The type of contact * - contact_type_id The ID of the contact type * - first_name The first name on the contact * - last_name The last name on the contact * - title The title of the contact * - company The company name of the contact * - address1 The address 1 line of the contact * - address2 The address 2 line of the contact * - city The city of the contact * - state An array of state info including: * - code The 2 or 3-character state code * - name The local name of the country * - country An array of country info including: * - alpha2 The 2-character country code * - alpha3 The 3-cahracter country code * - name The english name of the country * - alt_name The local name of the country * - zip The zip/postal code of the contact * @param float $amount The amount to charge this contact * @param string $currency The current to charge * @param array $invoice_amounts An array of invoices, each containing: * - id The ID of the invoice being processed * - amount The amount being processed for this invoice (which is included in $amount) * @param array $options An array of options including: * - description The Description of the charge * - return_url The URL to redirect users to after a successful payment * - recur An array of recurring info including: * - start_date The date/time in UTC that the recurring payment begins * - amount The amount to recur * - term The term to recur * - period The recurring period (day, week, month, year, onetime) used * in conjunction with term in order to determine the next recurring payment * @param int $gateway_id The ID of the nonmerchant gateway to fetch, * if null will return all nonmerchant gateways for the currency * @return array An array of HTML, indexed by the gateway name */
  4. This is just a guess, but if you look in \projectfolder\vendors\components\gateways\nonmerchant\paypal_payments_standard\paypal_payments_standard.php you will find PaypalPaymentsStandard extends NonmerchantGateway It looks like you are required to have a Blesta invoice to pay to use this gateway, so you will probably need to generate an invoice first. On line 232 there is buildProcess where I found this information. It looks like it's building the request to paypal. Maybe someone else can shed some more light.
  5. Ahh ok I didn't know cron was creating those files. I'll change this. Thank you!
  6. So I checked php7.1-fpm configuration and it's running as www-data. Files inside logs_blesta are being created as the root user and as such php scripts running through php7.1-fpm can not access the files. This causes lots of issues such as password reset emails not going out, unable to change client product pricing etc. I set the sticky bit on logs_blesta hoping that would solve my www-data problem by preserving permissions in the directory but it doesn't, files still get created as root owner. Every day I am stuck going in and chown -R www-data:www-data logs_blesta so I can perform administrative actions. drwsr-xr-x 2 www-data www-data 4096 Mar 4 14:33 . Any ideas why files are being created as root and not www-data?
  7. Maybe you can provide some updates to translations?
  8. It appears the problem cleared itself, however support emails to our support@ address are now mysteriously not importing and we haven't changed anything regarding that.
  9. I went and set all these services to 'active' but the little spinner is still spinning on 'Provision Paid Pending Services'
  10. This product is using the universal module with some settings populated by the WHMCS importer. I'm not sure why it is trying to 'provision' anything.
  11. There is no way to 'clear a lock' here. It says the cron last ran today like 5 minutes ago as well, but no tickets are being imported now.
  12. I'm getting a health warning from blesta about Provision Paid Pending Services running more than 60 minutes. This product is using the universal module with some settings populated by the WHMCS importer. I run top and I do not see any processes running that could be related to this. It looks like blesta either doesn't know the process crashed or that it already completed. To be clear, there is nothing to provision for this order, it is all done manually. I'm not sure why blesta is trying to provision anything. Can someone lead me down the right track here?
  13. Couldn't this be handled with configurable options?
  14. I'd be open to using just text config option fields as well if it's easier to work with programatically. I'm guessing these are the arguments passed in the configoptions array and not the universal module service fields.
  15. Can you interact with the universal module programatically? For example, when you create a service and there are fields required from the universal module how are those entered? Do you use configoptions An array of key/value pairs of package options where the key is the package option ID and the value is the option value listed at http://source-docs.blesta.com/class-Services.html under vars? If so can we get an example snippet of passing configoptions ?
×
×
  • Create New...